public interface LifecycleHandler
Modifier and Type | Method and Description |
---|---|
<T> void |
handle(T instance,
ComponentDescriptor<T> descriptor,
ComponentManager componentManager)
Handle initialization of the passed component instance.
|
<T> void handle(T instance, ComponentDescriptor<T> descriptor, ComponentManager componentManager) throws Exception
T
- the type of the Componentinstance
- the component instance to initializedescriptor
- the descriptor of the passed componentcomponentManager
- the component manager which is initializing the ComponentException
- in case the handler fails to handle the Component initializationCopyright © 2004–2021 XWiki. All rights reserved.