This component advertises the SOAP "BlackboardCount" and
replies to "getBlackboardCount" requests by querying the
blackboard.
Load with:
<component
class="org.cougaar.lib.web.axis.WebServicesProvider"/gt;
<component
class="org.cougaar.lib.web.axis.blackboardCount.BlackboardCountPlugin"/>
Use the
BlackboardCountClient to invoke this plugin's
SOAP service from a command-line client.
Note that only one instance of this plugin can be loaded per
JVM, since the
WebServicesService is static and our
BlackboardCountHook is static. To work around this,
a developer could maintain a Map in the "hook" and require
the SOAP caller to specify the agent name, or advertise separate
SOAP paths with separate "hook" implementations.
|