| org.cougaar.core.plugin.ComponentPlugin org.cougaar.pizza.plugin.PizzaPrototypePlugin
PizzaPrototypePlugin | public class PizzaPrototypePlugin extends ComponentPlugin (Code) | | This Plugin creates and registers the Pizza Prototype asset. Other plugins will create
instances of Pizza Assets as needed based on this prototype. This plugin does not require any inputs,
it simply creates and registers the prototype. Note that this plugin will only run once since there
are no inputs(subscriptions) that will cause it to run.
|
Method Summary | |
protected void | execute() No subscriptions to process so this method does nothing. | public void | setDomainService(DomainService aDomainService) Used by the binding utility through introspection to set my DomainService
Services that are required for plugin usage should be set through reflection instead of explicitly
getting each service from your ServiceBroker in the load method. | public void | setPrototypeRegistryService(PrototypeRegistryService aPrototypeRegistryService) | protected void | setupSubscriptions() Generally used to initalize plugin subscriptions. |
execute | protected void execute()(Code) | | No subscriptions to process so this method does nothing.
|
setDomainService | public void setDomainService(DomainService aDomainService)(Code) | | Used by the binding utility through introspection to set my DomainService
Services that are required for plugin usage should be set through reflection instead of explicitly
getting each service from your ServiceBroker in the load method. The setter methods are called after
the component is constructed but before the state methods such as initialize, load, setupSubscriptions, etc.
If the service is not available at that time the component will be unloaded.
|
setPrototypeRegistryService | public void setPrototypeRegistryService(PrototypeRegistryService aPrototypeRegistryService)(Code) | | Used by the binding utility through introspection to set my PrototypeRegistryService
|
setupSubscriptions | protected void setupSubscriptions()(Code) | | Generally used to initalize plugin subscriptions. But in this case, we will just use it to
call our method that will create the prototype.
|
|
|