| org.cougaar.core.plugin.ComponentPlugin org.cougaar.core.adaptivity.ConditionServiceProvider
ConditionServiceProvider | public class ConditionServiceProvider extends ComponentPlugin implements ServiceProvider(Code) | | This Plugin serves as an ConditionServiceProvider. It
subscribes to
Condition s using a subscription allowing
immediate access to individual Conditions by name. Provides
ConditionService to components needing name-based access to
Conditions.
|
execute | public void execute()(Code) | | Standard execute method does nothing. Our subscription
automatically maintains the information of interest in smSet
where it is referenced directly by the service API.
|
getService | public Object getService(ServiceBroker sb, Object requestor, Class serviceClass)(Code) | | Gets (creates) an implementation of the ConditionService.
This is part of our implementation of the ServiceProvider API.
|
load | public void load()(Code) | | Override base class method to register our service with the
service broker.
|
releaseService | public void releaseService(ServiceBroker sb, Object requestor, Class serviceClass, Object svc)(Code) | | Releases an implementation of the ConditionService.
This is part of our implementation of the ServiceProvider API.
|
setupSubscriptions | public void setupSubscriptions()(Code) | | Standard setupSubscriptions subscribes to all Conditions.
|
unload | public void unload()(Code) | | |
|
|