| org.cougaar.core.component.ServiceView
ServiceView | public interface ServiceView (Code) | | A
ViewService view of an advertised or obtained service.
|
Method Summary | |
int | getId() Get the unique identifier of this service. | Map | getIndirectlyAdvertisedServices() If this service class contains a "get.*ServiceBroker()" method,
get a map of "Class --> ServiceView"s for all services
indirectly advertised through the "get.*ServiceBroker()"'s
ServiceBroker.addService method. | ComponentDescription | getProviderComponentDescription() Get the service provider's ComponentDescription ,
or null if it is not known or this is an advertised service
(in which case the provider is the component being viewed). | int | getProviderId() Get the service provider's identifier, or 0 if it is not known
or this is an advertised service (in which case the provider
is the component being viewed). | long | getTimestamp() Get the time in milliseconds when the service was
obtained/advertised, or zero if the service has since been
released/revoked. |
getId | int getId()(Code) | | Get the unique identifier of this service.
|
getIndirectlyAdvertisedServices | Map getIndirectlyAdvertisedServices()(Code) | | If this service class contains a "get.*ServiceBroker()" method,
get a map of "Class --> ServiceView"s for all services
indirectly advertised through the "get.*ServiceBroker()"'s
ServiceBroker.addService method.
This is primarily used to track services advertised by the
core's org.cougaar.core.node.NodeControlService ,
which provides access to the root-level ServiceBroker.
|
getProviderComponentDescription | ComponentDescription getProviderComponentDescription()(Code) | | Get the service provider's ComponentDescription ,
or null if it is not known or this is an advertised service
(in which case the provider is the component being viewed).
|
getProviderId | int getProviderId()(Code) | | Get the service provider's identifier, or 0 if it is not known
or this is an advertised service (in which case the provider
is the component being viewed).
|
getTimestamp | long getTimestamp()(Code) | | Get the time in milliseconds when the service was
obtained/advertised, or zero if the service has since been
released/revoked.
|
|
|