| |
|
| java.lang.Object nextapp.echo2.webrender.ServiceRegistry
ServiceRegistry | public class ServiceRegistry (Code) | | A registry of Service objects that may be recalled based
on Id values.
|
Constructor Summary | |
public | ServiceRegistry() Creates a new ServiceRegistry . |
Method Summary | |
public synchronized void | add(Service service) Adds a service to the registry. | public Service | get(String id) Returns the service with the specified Id .
Parameters: id - The Id of the service to be retrieved. | public synchronized void | remove(Service service) Removes a service from the registry. |
ServiceRegistry | public ServiceRegistry()(Code) | | Creates a new ServiceRegistry .
|
add | public synchronized void add(Service service)(Code) | | Adds a service to the registry.
Parameters: service - The service to be added. |
get | public Service get(String id)(Code) | | Returns the service with the specified Id .
Parameters: id - The Id of the service to be retrieved. The service which is identified by id . |
remove | public synchronized void remove(Service service)(Code) | | Removes a service from the registry.
Parameters: service - The service to be removed. |
|
|
|