org.apache.cxf.ws.policy
Class PolicyInterceptorProviderRegistryImpl
java.lang.Object
org.apache.cxf.extension.RegistryImpl<QName,Set<PolicyInterceptorProvider>>
org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl
- All Implemented Interfaces:
- BusExtension, Registry<QName,Set<PolicyInterceptorProvider>>, PolicyInterceptorProviderRegistry
public class PolicyInterceptorProviderRegistryImpl
- extends RegistryImpl<QName,Set<PolicyInterceptorProvider>>
- implements PolicyInterceptorProviderRegistry, BusExtension
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyInterceptorProviderRegistryImpl
public PolicyInterceptorProviderRegistryImpl()
PolicyInterceptorProviderRegistryImpl
public PolicyInterceptorProviderRegistryImpl(Bus b)
PolicyInterceptorProviderRegistryImpl
public PolicyInterceptorProviderRegistryImpl(Map<QName,Set<PolicyInterceptorProvider>> interceptors)
PolicyInterceptorProviderRegistryImpl
public PolicyInterceptorProviderRegistryImpl(MapProvider<QName,Set<PolicyInterceptorProvider>> interceptors)
PolicyInterceptorProviderRegistryImpl
public PolicyInterceptorProviderRegistryImpl(Bus b,
MapProvider<QName,Set<PolicyInterceptorProvider>> interceptors)
setBus
public final void setBus(Bus b)
register
public void register(PolicyInterceptorProvider provider)
- Description copied from interface:
PolicyInterceptorProviderRegistry
- Register the builder for all qnames from the provider
getAssertionTypes call.
- Specified by:
register
in interface PolicyInterceptorProviderRegistry
- Parameters:
provider
- the provider to register
getRegistrationType
public Class<?> getRegistrationType()
- Specified by:
getRegistrationType
in interface BusExtension
loadDynamic
protected void loadDynamic()
- Overrides:
loadDynamic
in class RegistryImpl<QName,Set<PolicyInterceptorProvider>>
get
public Set<PolicyInterceptorProvider> get(QName qn)
- Description copied from interface:
Registry
- Returns the object stored under the given key.
- Specified by:
get
in interface Registry<QName,Set<PolicyInterceptorProvider>>
- Overrides:
get
in class RegistryImpl<QName,Set<PolicyInterceptorProvider>>
- Parameters:
qn
- the key
- Returns:
- the object stored under the key
getInterceptorsForAlternative
public List<Interceptor<? extends Message>> getInterceptorsForAlternative(Collection<? extends org.apache.neethi.Assertion> alternative,
boolean out,
boolean fault)
- Specified by:
getInterceptorsForAlternative
in interface PolicyInterceptorProviderRegistry
getInInterceptorsForAssertion
public List<Interceptor<? extends Message>> getInInterceptorsForAssertion(QName qn)
- Specified by:
getInInterceptorsForAssertion
in interface PolicyInterceptorProviderRegistry
getInFaultInterceptorsForAssertion
public List<Interceptor<? extends Message>> getInFaultInterceptorsForAssertion(QName qn)
- Specified by:
getInFaultInterceptorsForAssertion
in interface PolicyInterceptorProviderRegistry
getOutInterceptorsForAssertion
public List<Interceptor<? extends Message>> getOutInterceptorsForAssertion(QName qn)
- Specified by:
getOutInterceptorsForAssertion
in interface PolicyInterceptorProviderRegistry
getOutFaultInterceptorsForAssertion
public List<Interceptor<? extends Message>> getOutFaultInterceptorsForAssertion(QName qn)
- Specified by:
getOutFaultInterceptorsForAssertion
in interface PolicyInterceptorProviderRegistry
getInterceptorsForAssertion
protected List<Interceptor<? extends Message>> getInterceptorsForAssertion(QName qn,
boolean out,
boolean fault)
Apache CXF