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:
org.apache.cxf.extension.BusExtension, org.apache.cxf.extension.Registry<QName,Set<PolicyInterceptorProvider>>, PolicyInterceptorProviderRegistry

public class PolicyInterceptorProviderRegistryImpl
extends org.apache.cxf.extension.RegistryImpl<QName,Set<PolicyInterceptorProvider>>
implements PolicyInterceptorProviderRegistry, org.apache.cxf.extension.BusExtension


Field Summary
 
Fields inherited from class org.apache.cxf.extension.RegistryImpl
entries
 
Constructor Summary
PolicyInterceptorProviderRegistryImpl()
           
PolicyInterceptorProviderRegistryImpl(org.apache.cxf.Bus b)
           
PolicyInterceptorProviderRegistryImpl(Map<QName,Set<PolicyInterceptorProvider>> interceptors)
           
 
Method Summary
 Set<PolicyInterceptorProvider> get(QName qn)
           
 List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInFaultInterceptorsForAssertion(QName qn)
           
 List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInInterceptorsForAssertion(QName qn)
           
 List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInterceptorsForAlternative(Collection<? extends org.apache.neethi.Assertion> alternative, boolean out, boolean fault)
           
protected  List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInterceptorsForAssertion(QName qn, boolean out, boolean fault)
           
 List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutFaultInterceptorsForAssertion(QName qn)
           
 List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.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(org.apache.cxf.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(org.apache.cxf.Bus b)

PolicyInterceptorProviderRegistryImpl

public PolicyInterceptorProviderRegistryImpl(Map<QName,Set<PolicyInterceptorProvider>> interceptors)
Method Detail

setBus

public final void setBus(org.apache.cxf.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 org.apache.cxf.extension.BusExtension

loadDynamic

protected void loadDynamic()
Overrides:
loadDynamic in class org.apache.cxf.extension.RegistryImpl<QName,Set<PolicyInterceptorProvider>>

get

public Set<PolicyInterceptorProvider> get(QName qn)
Specified by:
get in interface org.apache.cxf.extension.Registry<QName,Set<PolicyInterceptorProvider>>
Overrides:
get in class org.apache.cxf.extension.RegistryImpl<QName,Set<PolicyInterceptorProvider>>

getInterceptorsForAlternative

public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInterceptorsForAlternative(Collection<? extends org.apache.neethi.Assertion> alternative,
                                                                                                                            boolean out,
                                                                                                                            boolean fault)
Specified by:
getInterceptorsForAlternative in interface PolicyInterceptorProviderRegistry

getInInterceptorsForAssertion

public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInInterceptorsForAssertion(QName qn)
Specified by:
getInInterceptorsForAssertion in interface PolicyInterceptorProviderRegistry

getInFaultInterceptorsForAssertion

public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInFaultInterceptorsForAssertion(QName qn)
Specified by:
getInFaultInterceptorsForAssertion in interface PolicyInterceptorProviderRegistry

getOutInterceptorsForAssertion

public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutInterceptorsForAssertion(QName qn)
Specified by:
getOutInterceptorsForAssertion in interface PolicyInterceptorProviderRegistry

getOutFaultInterceptorsForAssertion

public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutFaultInterceptorsForAssertion(QName qn)
Specified by:
getOutFaultInterceptorsForAssertion in interface PolicyInterceptorProviderRegistry

getInterceptorsForAssertion

protected List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInterceptorsForAssertion(QName qn,
                                                                                                                             boolean out,
                                                                                                                             boolean fault)


Apache CXF