|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.cougaar.util.GenericStateModelAdapter
org.cougaar.core.blackboard.BlackboardClientComponent
org.cougaar.core.plugin.ComponentPlugin
org.cougaar.tutorial.booksonline.common.BOLComponentPlugin
org.cougaar.tutorial.booksonline.publisher.PublisherAllocatorPlugin
Subscribes to PackBooksAtWarehouse Tasks and tries to allocate the task to a Packer when enough books exist in the publisher's warehouse, otherwise the task is marked as failed through a Failed Disposition. Also, allocation results from the ShipBooks task are subscribed to, in order to copy the reported result to the estimated and observetd result slots of the plan element.
| 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 | |
PublisherAllocatorPlugin()
|
|
| Method Summary | |
void |
load()
Load the plugin and setup prototype registry service and database service |
| 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 |
public PublisherAllocatorPlugin()
| Method Detail |
public void load()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||