cca-spec-babel  0.8.6-unstable(developer)
Public Member Functions
gov.cca.ports.ServiceRegistry Interface Reference

ServiceRegistry is a Port that is provided by the framework and can be used by a component wishing to provide service Ports. More...

Inheritance diagram for gov.cca.ports.ServiceRegistry:
Inheritance graph
[legend]
Collaboration diagram for gov.cca.ports.ServiceRegistry:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

ServiceRegistry is a Port that is provided by the framework and can be used by a component wishing to provide service Ports.


Member Function Documentation

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.


The documentation for this interface was generated from the following file: