|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo2.webrender.ServiceRegistry
public class ServiceRegistry
A registry of Service
objects that may be recalled based
on Id
values.
Constructor Summary | |
---|---|
ServiceRegistry()
Creates a new ServiceRegistry . |
Method Summary | |
---|---|
void |
add(Service service)
Adds a service to the registry. |
Service |
get(java.lang.String id)
Returns the service with the specified Id . |
void |
remove(Service service)
Removes a service from the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceRegistry()
ServiceRegistry
.
Method Detail |
---|
public void add(Service service)
service
- The service to be added.public Service get(java.lang.String id)
Id
.
id
- The Id
of the service to be retrieved.
id
.public void remove(Service service)
service
- The service to be removed.
|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |