org.xwiki.component.phase
Interface Initializable


public interface Initializable

Version:
$Id: 7f18e8d52a4bd641342327f271508ff69ef57fdd $
See Also:
initialize()

Method Summary
 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


Copyright © 2004–2014 XWiki. All rights reserved.