org.cougaar.tutorial.booksonline.publisher
Class PublisherExpanderPlugin

java.lang.Object
  extended byorg.cougaar.util.GenericStateModelAdapter
      extended byorg.cougaar.core.blackboard.BlackboardClientComponent
          extended byorg.cougaar.core.plugin.ComponentPlugin
              extended byorg.cougaar.tutorial.booksonline.common.BOLComponentPlugin
                  extended byorg.cougaar.tutorial.booksonline.publisher.PublisherExpanderPlugin
All Implemented Interfaces:
org.cougaar.core.blackboard.BlackboardClient, org.cougaar.core.component.Component, org.cougaar.util.GenericStateModel, org.cougaar.core.plugin.PluginBase

public class PublisherExpanderPlugin
extends BOLComponentPlugin

Subscribes to the completion of printRun Tasks and the addition of PublishOrderTasks. Expands the PublishOrderTasks into the PackBooksAtWarehouse and ShipBooks Workflow. With the completion of the printRun task, the inventory is updated and the expansion is built in order to try to process the task again.

Version:
$Revision: 1.2 $
Author:
ttschampel

Nested Class Summary
 
Nested classes inherited from class org.cougaar.tutorial.booksonline.common.BOLComponentPlugin
BOLComponentPlugin.PluginAlarm
 
Nested classes inherited from class org.cougaar.core.blackboard.BlackboardClient
org.cougaar.core.blackboard.BlackboardClient.Local
 
Field Summary
 
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
PublisherExpanderPlugin()
           
 
Method Summary
 void load()
          Load the plugin and setup logging
 
Methods inherited from class org.cougaar.tutorial.booksonline.common.BOLComponentPlugin
getDomainService, setDomainService, setLoggingService, setUIDService, wakeAfter
 
Methods inherited from class org.cougaar.core.blackboard.BlackboardClientComponent
currentTimeMillis, getBlackboardClientName, getParameter, getParameters, halt, initialize, resume, setAgentIdentificationService, setAlarmService, setBindingSite, setBlackboardService, setParameter, setSchedulerService, start, stop, suspend, toString, unload
 
Methods inherited from class org.cougaar.util.GenericStateModelAdapter
getModelState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.cougaar.util.GenericStateModel
getModelState, halt, initialize, resume, start, stop, suspend, unload
 

Constructor Detail

PublisherExpanderPlugin

public PublisherExpanderPlugin()
Method Detail

load

public void load()
Load the plugin and setup logging