org.cougaar.tutorial.booksonline.payment
Class CreditVerificationPlugin

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.payment.CreditVerificationPlugin
All Implemented Interfaces:
org.cougaar.core.blackboard.BlackboardClient, org.cougaar.core.component.Component, org.cougaar.util.GenericStateModel, org.cougaar.core.plugin.PluginBase

public class CreditVerificationPlugin
extends BOLComponentPlugin

Subscribes to alloations to payment assets and authorizes credit charges on the payment assets. Then publishes the observed results to the blackboard

Author:
ttschampel, mabrams

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
CreditVerificationPlugin()
           
 
Method Summary
 void execute()
          Process subscriptions
 void setupSubscriptions()
          Setup subscription to allocations
 
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, load, 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, load, resume, start, stop, suspend, unload
 

Constructor Detail

CreditVerificationPlugin

public CreditVerificationPlugin()
Method Detail

setupSubscriptions

public void setupSubscriptions()
Setup subscription to allocations


execute

public void execute()
Process subscriptions