|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceRegistry
Defines the interface that for places to register, unregister, and get information about services.
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
Constant used to define the role of service registries. |
| Method Summary | |
|---|---|
void |
addRegistrationEventListener(RegistrationEventListener listener)
Add a listener for registration events. |
Service |
getService(javax.xml.namespace.QName name)
Returns the ServiceEndpoint with the given name, if found. |
Service |
getService(java.lang.String name)
Returns the ServiceEndpoint with the given name, if found. |
java.util.Collection |
getServices()
Returns all ServiceEndpoint registered to this registry. |
boolean |
hasService(javax.xml.namespace.QName name)
Indicates whether this registry has a service endpoint with the given name. |
boolean |
hasService(java.lang.String name)
Indicates whether this registry has a service endpoint with the given name. |
void |
register(Service endpoint)
Registers a given ServiceEndpoint with this registry. |
void |
removeRegistrationEventListener(RegistrationEventListener listener)
Remove a listener for registration events. |
void |
unregister(Service service)
Unregisters the service endpoint with the given name, if found. |
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
Service getService(java.lang.String name)
ServiceEndpoint with the given name, if found. Returns null if not found.
name - the service name.
null if not found.Service getService(javax.xml.namespace.QName name)
ServiceEndpoint with the given name, if found. Returns null if not found.
name - the service name.
null if not found.void register(Service endpoint)
ServiceEndpoint with this registry.
endpoint - the endpoint.void unregister(Service service)
name - the service name.boolean hasService(java.lang.String name)
name - the service name.
true if this registry has a service with the given name; false otherwise.boolean hasService(javax.xml.namespace.QName name)
name - the service name.
true if this registry has a service with the given name; false otherwise.java.util.Collection getServices()
ServiceEndpoint registered to this registry.
void addRegistrationEventListener(RegistrationEventListener listener)
listener - the listener.void removeRegistrationEventListener(RegistrationEventListener listener)
listener - the listener.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||