org.cougaar.core.persist
Class Exercise

java.lang.Object
  extended by org.cougaar.util.GenericStateModelAdapter
      extended by org.cougaar.core.blackboard.BlackboardClientComponent
          extended by org.cougaar.core.plugin.ComponentPlugin
              extended by org.cougaar.core.plugin.ServiceUserPlugin
                  extended by org.cougaar.core.persist.Exercise
All Implemented Interfaces:
BlackboardClient, org.cougaar.core.component.Component, PluginBase, org.cougaar.util.GenericStateModel

public class Exercise
extends ServiceUserPlugin

This component exercises the blackboard and can be used to debug trivial persistence problems.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cougaar.core.blackboard.BlackboardClient
BlackboardClient.Local
 
Field Summary
 
Fields inherited from class org.cougaar.core.plugin.ServiceUserPlugin
logger
 
Fields inherited from class org.cougaar.core.blackboard.BlackboardClientComponent
agentId, agentIdentificationService, alarmService, blackboard, blackboardClientName
 
Fields inherited from interface org.cougaar.core.plugin.PluginBase
INSERTION_POINT
 
Fields inherited from interface org.cougaar.util.GenericStateModel
ACTIVE, IDLE, LOADED, UNINITIALIZED, UNLOADED
 
Fields inherited from interface org.cougaar.core.blackboard.BlackboardClient
current
 
Constructor Summary
Exercise()
           
 
Method Summary
 void execute()
          Called every time this component is scheduled to run.
 void setupSubscriptions()
          Called once after initialization, as a "pre-execute()".
 
Methods inherited from class org.cougaar.core.plugin.ServiceUserPlugin
acquireServices, cancelTimer, getTimer, getTimerExpirationTime, hasUnexpiredTimer, load, resetTimer, startTimer, timerExpired, unload
 
Methods inherited from class org.cougaar.core.plugin.ComponentPlugin
getConfigFinder
 
Methods inherited from class org.cougaar.core.blackboard.BlackboardClientComponent
currentTimeMillis, cycle, getAgentIdentifier, getAlarmService, getBindingSite, getBlackboardClientName, getBlackboardService, getMessageAddress, getParameter, getParameters, getServiceBroker, halt, precycle, requestCycle, resume, setAgentIdentificationService, setAlarmService, setBindingSite, setBlackboardService, setParameter, setSchedulerService, setServiceBroker, setSuicideService, shouldExecute, start, stop, suspend, toString, wasAwakened
 
Methods inherited from class org.cougaar.util.GenericStateModelAdapter
getModelState, initialize, transitState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.cougaar.util.GenericStateModel
getModelState, halt, initialize, resume, start, stop, suspend
 

Constructor Detail

Exercise

public Exercise()
Method Detail

setupSubscriptions

public void setupSubscriptions()
Description copied from class: ComponentPlugin
Called once after initialization, as a "pre-execute()".

Specified by:
setupSubscriptions in class ComponentPlugin

execute

public void execute()
Description copied from class: ComponentPlugin
Called every time this component is scheduled to run.

Specified by:
execute in class ComponentPlugin