public class ServiceContractResolverRegistryImpl extends Object implements org.apache.cxf.endpoint.ServiceContractResolverRegistry
ArrayList.| Constructor and Description |
|---|
ServiceContractResolverRegistryImpl() |
ServiceContractResolverRegistryImpl(org.apache.cxf.Bus b) |
| Modifier and Type | Method and Description |
|---|---|
URI |
getContractLocation(QName qname)
Calls each of the registered
ServiceContractResolver instances
to resolve the location of the service's contract. |
protected List<org.apache.cxf.endpoint.ServiceContractResolver> |
getResolvers() |
boolean |
isRegistered(org.apache.cxf.endpoint.ServiceContractResolver resolver)
Tests if a resolver is alreadey registered with this registry.
|
void |
register(org.apache.cxf.endpoint.ServiceContractResolver resolver)
Registers a contract resolver with this registry.
|
void |
setBus(org.apache.cxf.Bus b)
Sets the bus with which the registry is associated.
|
void |
unregister(org.apache.cxf.endpoint.ServiceContractResolver resolver)
Removes a contract resolver from this registry.
|
public ServiceContractResolverRegistryImpl()
public ServiceContractResolverRegistryImpl(org.apache.cxf.Bus b)
public final void setBus(org.apache.cxf.Bus b)
bus - public URI getContractLocation(QName qname)
ServiceContractResolver instances
to resolve the location of the service's contract. It returns the location
from the first resolver that matches the QName to a location.getContractLocation in interface org.apache.cxf.endpoint.ServiceContractResolverRegistryqname - QName to be resolved into a contract locationpublic boolean isRegistered(org.apache.cxf.endpoint.ServiceContractResolver resolver)
isRegistered in interface org.apache.cxf.endpoint.ServiceContractResolverRegistryresolver - the contract resolver for which to searchetrue if the resolver is registeredpublic void register(org.apache.cxf.endpoint.ServiceContractResolver resolver)
register in interface org.apache.cxf.endpoint.ServiceContractResolverRegistryresolver - the contract resolver to registerpublic void unregister(org.apache.cxf.endpoint.ServiceContractResolver resolver)
unregister in interface org.apache.cxf.endpoint.ServiceContractResolverRegistryresolver - the contract resolver to removeprotected List<org.apache.cxf.endpoint.ServiceContractResolver> getResolvers()
Apache CXF