edu.internet2.middleware.grouper.hooks
Class LifecycleHooks

java.lang.Object
  extended by edu.internet2.middleware.grouper.hooks.LifecycleHooks

public class LifecycleHooks
extends Object

hooks regarding general grouper lifecycle (e.g. startup, hooks init, hib registration, etc)


Field Summary
static String METHOD_DDL_INIT
          constant for method name for: ddlInit
static String METHOD_GROUPER_STARTUP
          constant for method name for: grouperStartup
static String METHOD_HIBERNATE_INIT
          constant for method name for: hibernateInit
static String METHOD_HOOKS_INIT
          constant for method name for: hooksInit
 
Constructor Summary
LifecycleHooks()
           
 
Method Summary
 void ddlInit(HooksContext hooksContext, HooksLifecycleDdlInitBean hooksLifecycleDdlInitBean)
          called when ddl is checking objects (you can add your own ddl object types here)
 void grouperStartup(HooksContext hooksContext, HooksLifecycleGrouperStartupBean hooksLifecycleStartupBean)
          called when grouper starts up (note, this might be too early to do anything complex)
 void hibernateInit(HooksContext hooksContext, HooksLifecycleHibInitBean hooksLifecycleHibInitBean)
          called when hibernate is registering objects (you can add your own hibernate mapped objects here)
 void hooksInit(HooksContext hooksContext, HooksLifecycleHooksInitBean hooLifecycleHooksInitBean)
          called when grouper starts up
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_GROUPER_STARTUP

public static final String METHOD_GROUPER_STARTUP
constant for method name for: grouperStartup

See Also:
Constant Field Values

METHOD_HIBERNATE_INIT

public static final String METHOD_HIBERNATE_INIT
constant for method name for: hibernateInit

See Also:
Constant Field Values

METHOD_HOOKS_INIT

public static final String METHOD_HOOKS_INIT
constant for method name for: hooksInit

See Also:
Constant Field Values

METHOD_DDL_INIT

public static final String METHOD_DDL_INIT
constant for method name for: ddlInit

See Also:
Constant Field Values
Constructor Detail

LifecycleHooks

public LifecycleHooks()
Method Detail

grouperStartup

public void grouperStartup(HooksContext hooksContext,
                           HooksLifecycleGrouperStartupBean hooksLifecycleStartupBean)
called when grouper starts up (note, this might be too early to do anything complex)

Parameters:
hooksContext -
hooksLifecycleStartupBean -

hooksInit

public void hooksInit(HooksContext hooksContext,
                      HooksLifecycleHooksInitBean hooLifecycleHooksInitBean)
called when grouper starts up

Parameters:
hooksContext -
hooLifecycleHooksInitBean -

hibernateInit

public void hibernateInit(HooksContext hooksContext,
                          HooksLifecycleHibInitBean hooksLifecycleHibInitBean)
called when hibernate is registering objects (you can add your own hibernate mapped objects here)

Parameters:
hooksContext -
hooksLifecycleHibInitBean -

ddlInit

public void ddlInit(HooksContext hooksContext,
                    HooksLifecycleDdlInitBean hooksLifecycleDdlInitBean)
called when ddl is checking objects (you can add your own ddl object types here)

Parameters:
hooksContext -
hooksLifecycleDdlInitBean -