Package org.xwiki.component.embed
Class ComposableLifecycleHandler
- java.lang.Object
-
- org.xwiki.component.embed.ComposableLifecycleHandler
-
- All Implemented Interfaces:
LifecycleHandler
public class ComposableLifecycleHandler extends Object implements LifecycleHandler
Handles lifecycle forComposable
.- Since:
- 3.2RC1
- Version:
- $Id: 8bdedc6b3df65727eab0b39da7e7003b6a2407d0 $
-
-
Constructor Summary
Constructors Constructor Description ComposableLifecycleHandler()
-
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)
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
-
-