Package org.apache.cxf.bus.managers
Class ServiceContractResolverRegistryImpl
java.lang.Object
org.apache.cxf.bus.managers.ServiceContractResolverRegistryImpl
- All Implemented Interfaces:
- ServiceContractResolverRegistry
public class ServiceContractResolverRegistryImpl
extends Object
implements ServiceContractResolverRegistry
A simple contract resolver registry. It maintains a list of contract resolvers in an
 
ArrayList.- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier and TypeMethodDescriptiongetContractLocation(QName qname) Calls each of the registeredServiceContractResolverinstances to resolve the location of the service's contract.protected List<ServiceContractResolver>booleanisRegistered(ServiceContractResolver resolver) Tests if a resolver is alreadey registered with this registry.voidregister(ServiceContractResolver resolver) Registers a contract resolver with this registry.final voidSets the bus with which the registry is associated.voidunregister(ServiceContractResolver resolver) Removes a contract resolver from this registry.
- 
Constructor Details- 
ServiceContractResolverRegistryImplpublic ServiceContractResolverRegistryImpl()
- 
ServiceContractResolverRegistryImpl
 
- 
- 
Method Details- 
setBusSets the bus with which the registry is associated.- Parameters:
- bus-
 
- 
getContractLocationCalls each of the registeredServiceContractResolverinstances to resolve the location of the service's contract. It returns the location from the first resolver that matches the QName to a location.- Specified by:
- getContractLocationin interface- ServiceContractResolverRegistry
- Parameters:
- qname- QName to be resolved into a contract location
- Returns:
- URI representing the location of the contract
 
- 
isRegisteredTests if a resolver is alreadey registered with this registry.- Specified by:
- isRegisteredin interface- ServiceContractResolverRegistry
- Parameters:
- resolver- the contract resolver for which to searche
- Returns:
- trueif the resolver is registered
 
- 
registerRegisters a contract resolver with this registry.- Specified by:
- registerin interface- ServiceContractResolverRegistry
- Parameters:
- resolver- the contract resolver to register
 
- 
unregisterRemoves a contract resolver from this registry.- Specified by:
- unregisterin interface- ServiceContractResolverRegistry
- Parameters:
- resolver- the contract resolver to remove
 
- 
getResolvers
 
-