|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Every implementation of a ConsensusFoundation component (one of the seven "managers") must implement this interface.
Method Summary | |
ConsensusFoundationManager |
getConsensusFoundationManager()
Returns a reference to the ConsensusFoundation instance that set up the application |
String |
getVersion()
Returns a version string of the implementation of this module. |
void |
initCompleted(Properties config,
ConsensusFoundationManager cfm)
This method is called by the ConsensusFoundation constructor after all available modules have
been initialized (i.e. their init() method has been called). |
void |
shutdown()
Called by ConsensusFoundation.shutdown() when the application shuts down.
|
Method Detail |
public void initCompleted(Properties config, ConsensusFoundationManager cfm) throws Exception
ConsensusFoundation
constructor after all available modules have
been initialized (i.e. their init()
method has been called). Here a module can perform some final
initialization that is dependant on other modules.
config
- all entries from ConsensusFoundation.properties
cfm
- a reference to the ConsensusFoundation instance that set up the application
Exception
- if any error occurs (startup of the application is aborted in this case)ConsensusFoundation.ConsensusFoundation()
public ConsensusFoundationManager getConsensusFoundationManager()
ConsensusFoundation
public void shutdown()
ConsensusFoundation.shutdown()
when the application shuts down.
When implementing this method make sure that the shutdown code is executed only once even if this method is called multiple times.
ConsensusFoundation.shutdown()
public String getVersion()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |