Package org.apache.cxf.endpoint
Interface ServiceContractResolverRegistry
- All Known Implementing Classes:
- ServiceContractResolverRegistryImpl
public interface ServiceContractResolverRegistry
A registry for maintaining a collection of contract resolvers.
- 
Method SummaryModifier and TypeMethodDescriptiongetContractLocation(QName qname) Resolves a service's QName to a URI representing the location of a WSDL contract.booleanisRegistered(ServiceContractResolver resolver) Determines if a contract resolver is already registered with a registry.voidregister(ServiceContractResolver resolver) Registers a contract resolver.voidunregister(ServiceContractResolver resolver) Removes a contract resolver from the registry.
- 
Method Details- 
getContractLocationResolves a service's QName to a URI representing the location of a WSDL contract. The registry method is called by the bus and should use thegetContractLocationmethods of the registered contract resolvers to do the actual resolution.- Parameters:
- qname- the service qname to resolve into a URI
- Returns:
- URI representing the WSDL contract's location
 
- 
registerRegisters a contract resolver.- Parameters:
- resolver- the contract resolver being registered
 
- 
unregisterRemoves a contract resolver from the registry.- Parameters:
- resolver- the contract resolver being removed
 
- 
isRegisteredDetermines if a contract resolver is already registered with a registry.- Parameters:
- resolver- the contract resolver for which to search
- Returns:
- trueif the contract resolver is already registered
 
 
-