Package org.xwiki.component.embed
Class InitializableLifecycleHandler
- java.lang.Object
-
- org.xwiki.component.embed.InitializableLifecycleHandler
-
- All Implemented Interfaces:
LifecycleHandler
public class InitializableLifecycleHandler extends Object implements LifecycleHandler
Handles lifecycle forInitializableLifecycleHandler
.- Since:
- 3.2RC1
- Version:
- $Id: f859e2d8063e72d715d982086e70439212d7e196 $
-
-
Constructor Summary
Constructors Constructor Description InitializableLifecycleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> void
handle(T instance, ComponentDescriptor<T> descriptor, ComponentManager componentManager)
Handle initialization of the passed component instance.
-
-
-
Method Detail
-
handle
public <T> void handle(T instance, ComponentDescriptor<T> descriptor, ComponentManager componentManager) throws Exception
Description copied from interface:LifecycleHandler
Handle initialization of the passed component instance.- Specified by:
handle
in interfaceLifecycleHandler
- Type Parameters:
T
- the type of the Component- Parameters:
instance
- the component instance to initializedescriptor
- the descriptor of the passed componentcomponentManager
- the component manager which is initializing the Component- Throws:
Exception
- in case the handler fails to handle the Component initialization
-
-