Apache CXF API

org.apache.cxf.ws.policy
Class PolicyInterceptorProviderRegistryImpl

java.lang.Object
  extended by org.apache.cxf.extension.RegistryImpl<QName,Set<PolicyInterceptorProvider>>
      extended by 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


Field Summary
 
Fields inherited from class org.apache.cxf.extension.RegistryImpl
entries
 
Constructor Summary
PolicyInterceptorProviderRegistryImpl()
           
PolicyInterceptorProviderRegistryImpl(Bus b)
           
PolicyInterceptorProviderRegistryImpl(Bus b, MapProvider<QName,Set<PolicyInterceptorProvider>> interceptors)
           
PolicyInterceptorProviderRegistryImpl(Map<QName,Set<PolicyInterceptorProvider>> interceptors)
           
PolicyInterceptorProviderRegistryImpl(MapProvider<QName,Set<PolicyInterceptorProvider>> interceptors)
           
 
Method Summary
 Set<PolicyInterceptorProvider> get(QName qn)
          Returns the object stored under the given key.
 List<Interceptor<? extends Message>> getInFaultInterceptorsForAssertion(QName qn)
           
 List<Interceptor<? extends Message>> getInInterceptorsForAssertion(QName qn)
           
 List<Interceptor<? extends Message>> getInterceptorsForAlternative(Collection<? extends org.apache.neethi.Assertion> alternative, boolean out, boolean fault)
           
protected  List<Interceptor<? extends Message>> getInterceptorsForAssertion(QName qn, boolean out, boolean fault)
           
 List<Interceptor<? extends Message>> getOutFaultInterceptorsForAssertion(QName qn)
           
 List<Interceptor<? extends Message>> getOutInterceptorsForAssertion(QName qn)
           
 Class<?> getRegistrationType()
           
protected  void loadDynamic()
           
 void register(PolicyInterceptorProvider provider)
          Register the builder for all qnames from the provider getAssertionTypes call.
 void setBus(Bus b)
           
 
Methods inherited from class org.apache.cxf.extension.RegistryImpl
register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.extension.Registry
register, unregister
 

Constructor Detail

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)
Method Detail

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 API

Apache CXF