|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.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 ConsensusFoundationModule
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()
ConsensusFoundationModule
getConsensusFoundationManager
in interface ConsensusFoundationModule
ConsensusFoundation
public LoggingManager getLoggingManager()
ConsensusFoundationManager
getLoggingManager
in interface ConsensusFoundationManager
null
after successful startuppublic UserManager getUserManager()
ConsensusFoundationManager
getUserManager
in interface ConsensusFoundationManager
null
after successful startuppublic OntologyManager getOntologyManager()
ConsensusFoundationManager
getOntologyManager
in interface ConsensusFoundationManager
null
after successful startuppublic EvolutionManager getEvolutionManager()
ConsensusFoundationManager
getEvolutionManager
in interface ConsensusFoundationManager
null
if an EvolutionManager is not availablepublic RatingManager getRatingManager()
ConsensusFoundationManager
getRatingManager
in interface ConsensusFoundationManager
null
if a RatingManager is not availablepublic IncentiveManager getIncentiveManager()
ConsensusFoundationManager
getIncentiveManager
in interface ConsensusFoundationManager
null
if an IncentiveManager is not availablepublic DynamicRightsManager getDynamicRightsManager()
ConsensusFoundationManager
getDynamicRightsManager
in interface ConsensusFoundationManager
null
if a DynamicRightsManager is not availableprotected void finalize() throws Throwable
shutdown()
if the application forgot to do so.
Throwable
shutdown()
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 ConsensusFoundationModule
ConsensusFoundation.shutdown()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |