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. |
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.