|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uka.ipd.consensus.foundation.AbstractConsensusFoundationModule
An abstract superclass for the seven components (the "managers") of the ConsensusFoundation framework. It offers easy access to all other components within each component that subclasses this class.
| Constructor Summary | |
AbstractConsensusFoundationModule()
|
|
| Method Summary | |
protected void |
finalize()
Calls shutdown() if the application forgot to do so. |
ConsensusFoundationManager |
getConsensusFoundationManager()
Returns a reference to the ConsensusFoundation instance that set up the application |
DynamicRightsManager |
getDynamicRightsManager()
Returns a reference to the DynamicRightsManager. |
EvolutionManager |
getEvolutionManager()
Returns a reference to the EvolutionManager. |
IncentiveManager |
getIncentiveManager()
Returns a reference to the IncentiveManager. |
LoggingManager |
getLoggingManager()
Returns a reference to the LoggingManager. |
OntologyManager |
getOntologyManager()
Returns a reference to the OntologyManager. |
RatingManager |
getRatingManager()
Returns a reference to the RatingManager. |
UserManager |
getUserManager()
Returns a reference to the UserManager. |
void |
initCompleted(Properties config,
ConsensusFoundationManager cfm)
Stores the ConsensusFoundationManager reference. |
void |
shutdown()
An empty implementation. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.uka.ipd.consensus.foundation.ConsensusFoundationModule |
getVersion |
| Methods inherited from interface de.uka.ipd.consensus.foundation.ConsensusFoundationManager |
getVersion |
| Constructor Detail |
public AbstractConsensusFoundationModule()
| Method Detail |
public void initCompleted(Properties config,
ConsensusFoundationManager cfm)
throws Exception
If you override this method be sure to call this superclass method early in the overriding method!
initCompleted in interface ConsensusFoundationModuleconfig - all entries from ConsensusFoundation.propertiescfm - 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()
ConsensusFoundationModule
getConsensusFoundationManager in interface ConsensusFoundationModuleConsensusFoundationpublic LoggingManager getLoggingManager()
ConsensusFoundationManager
getLoggingManager in interface ConsensusFoundationManagernull after successful startuppublic UserManager getUserManager()
ConsensusFoundationManager
getUserManager in interface ConsensusFoundationManagernull after successful startuppublic OntologyManager getOntologyManager()
ConsensusFoundationManager
getOntologyManager in interface ConsensusFoundationManagernull after successful startuppublic EvolutionManager getEvolutionManager()
ConsensusFoundationManager
getEvolutionManager in interface ConsensusFoundationManagernull if an EvolutionManager is not availablepublic RatingManager getRatingManager()
ConsensusFoundationManager
getRatingManager in interface ConsensusFoundationManagernull if a RatingManager is not availablepublic IncentiveManager getIncentiveManager()
ConsensusFoundationManager
getIncentiveManager in interface ConsensusFoundationManagernull if an IncentiveManager is not availablepublic DynamicRightsManager getDynamicRightsManager()
ConsensusFoundationManager
getDynamicRightsManager in interface ConsensusFoundationManagernull if a DynamicRightsManager is not available
protected void finalize()
throws Throwable
shutdown() if the application forgot to do so.
Throwableshutdown()public void shutdown()
If you override this method make sure that the shutdown code is executed only once even if this method is called multiple times.
shutdown in interface ConsensusFoundationModuleConsensusFoundation.shutdown()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||