import"sbIServiceManager.idl";
Public Member Functions | |
boolean | isServiceReady (in string aServiceContractID) |
void | setServiceReady (in string aServiceContractID, in boolean aServiceReady) |
The sbIServiceManager interface provides support for managing service components. It provides support for determining whether services are ready and for delivering notifications when services are made ready or shut down. When a service becomes ready, the service manager notifies observers of the "service-ready" topic, providing the ready service contract ID as the observation data. When a service is shutdown, becoming not ready, the service manager notifies observers of the "before-service-shutdown" topic, providing the shut down service contract ID as the observation data.
"@songbirdnest.com/Songbird/ServiceManager;1" Use get service with this component.
Definition at line 47 of file sbIServiceManager.idl.
boolean sbIServiceManager::isServiceReady | ( | in string | aServiceContractID | ) |
Return true if the service with the contract ID specified by aServiceContractID is ready.
aServiceContractID | Contract ID of service for which to return ready state. |
void sbIServiceManager::setServiceReady | ( | in string | aServiceContractID, |
in boolean | aServiceReady | ||
) |
Set the ready state of the service with the contract ID specified by aServiceContractID to the value specified by aServiceReady. Notify observers if the ready state changes.
aServiceContractID | Contract ID of service for which to set ready state. |
aServiceReady | If true, set service as ready. |