Class LifecycleHooks
java.lang.Object
edu.internet2.middleware.grouper.hooks.LifecycleHooks
hooks regarding general grouper lifecycle (e.g. startup, hooks init, hib registration, etc)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
METHOD_GROUPER_STARTUP
constant for method name for: grouperStartup- See Also:
-
METHOD_HIBERNATE_INIT
constant for method name for: hibernateInit- See Also:
-
METHOD_HOOKS_INIT
constant for method name for: hooksInit- See Also:
-
METHOD_DDL_INIT
constant for method name for: ddlInit- See Also:
-
-
Constructor Details
-
LifecycleHooks
public LifecycleHooks()
-
-
Method Details
-
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
called when ddl is checking objects (you can add your own ddl object types here)- Parameters:
hooksContext
-hooksLifecycleDdlInitBean
-
-