|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.xfire.service.DefaultServiceRegistry
public class DefaultServiceRegistry
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.xfire.service.ServiceRegistry |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DefaultServiceRegistry()
|
|
| 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 qualified 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 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 endpoint)
Unregisters the service with the given qualified name, if found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultServiceRegistry()
| Method Detail |
|---|
public Service getService(java.lang.String name)
ServiceEndpoint with the given qualified name, if found. Returns null if
not found.
getService in interface ServiceRegistryname - the service name.
null if not found.public Service getService(javax.xml.namespace.QName name)
ServiceRegistryServiceEndpoint with the given name, if found. Returns null if not found.
getService in interface ServiceRegistryname - the service name.
null if not found.public void register(Service endpoint)
ServiceEndpoint with this registry.
register in interface ServiceRegistryendpoint - the endpoint.public void unregister(Service endpoint)
unregister in interface ServiceRegistryname - the service name.public boolean hasService(java.lang.String name)
hasService in interface ServiceRegistryname - the service name.
true if this registry has a service with the given name; false otherwise.public boolean hasService(javax.xml.namespace.QName name)
ServiceRegistry
hasService in interface ServiceRegistryname - the service name.
true if this registry has a service with the given name; false otherwise.public java.util.Collection getServices()
ServiceEndpoint registered to this registry.
getServices in interface ServiceRegistrypublic void addRegistrationEventListener(RegistrationEventListener listener)
addRegistrationEventListener in interface ServiceRegistrylistener - the listener.public void removeRegistrationEventListener(RegistrationEventListener listener)
removeRegistrationEventListener in interface ServiceRegistrylistener - the listener.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||