cca-spec-babel
0.8.6-unstable(developer)
|
ServiceRegistry is a Port that is provided by the framework and can be used by a component wishing to provide service Ports. More...
Public Member Functions | |
bool | addService (in string serviceType, in ServiceProvider portProvider) throws cca.CCAException |
Add a ServiceProvider that can be asked to produce service Port's for other components to use subsequently. | |
bool | addSingletonService (in string serviceType, in gov.cca.Port server) throws cca.CCAException |
Add a "reusable" service gov.cca.Port for other components to use subsequently. | |
void | removeService (in string serviceType) throws cca.CCAException |
Inform the framework that this service Port is no longer to be used, subsequent to this call. |
ServiceRegistry is a Port that is provided by the framework and can be used by a component wishing to provide service Ports.
bool gov.cca.ports.ServiceRegistry.addService | ( | in string | serviceType, |
in ServiceProvider | portProvider | ||
) | throws cca.CCAException |
Add a ServiceProvider that can be asked to produce service Port's for other components to use subsequently.
True means success. False means that for some reason, the provider isn't going to function. Possibly another server is doing the job.