Package org.xwiki.component.phase
Interface Initializable
-
public interface Initializable
- Version:
- $Id: 51cacd17258b2ae8aa32e9e74ac28cba892069cd $
- See Also:
initialize()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initialize()
Method called by the Component Manager when the component is created for the first time (i.e.
-
-
-
Method Detail
-
initialize
void initialize() throws InitializationException
Method called by the Component Manager when the component is created for the first time (i.e. when it's looked up for the first time or if the component is specified as being loaded on startup). If the component instantiation strategy is singleton then this method is called only once during the lifecycle of the Component Manager. Otherwise the component is created at each lookup and thus this method is called at each lookup too.- Throws:
InitializationException
- if an error happens during a component's initialization
-
-