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 for InitializableLifecycleHandler.
- Since:
- 3.2RC1
- Version:
- $Id: f859e2d8063e72d715d982086e70439212d7e196 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitializableLifecycleHandler
public InitializableLifecycleHandler()
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 interface LifecycleHandler
- 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
Copyright © 2004-2013 XWiki. All Rights Reserved.