Apache CXF API

org.apache.cxf.ws.policy
Class AssertionBuilderRegistryImpl

java.lang.Object
  extended by org.apache.neethi.AssertionBuilderFactoryImpl
      extended by org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl
All Implemented Interfaces:
BusExtension, AssertionBuilderRegistry, org.apache.neethi.AssertionBuilderFactory

public class AssertionBuilderRegistryImpl
extends org.apache.neethi.AssertionBuilderFactoryImpl
implements AssertionBuilderRegistry, BusExtension


Field Summary
 
Fields inherited from class org.apache.neethi.AssertionBuilderFactoryImpl
converters, defaultBuilder, engine
 
Constructor Summary
AssertionBuilderRegistryImpl()
           
AssertionBuilderRegistryImpl(Bus b)
           
 
Method Summary
 Class<?> getRegistrationType()
           
protected  org.apache.neethi.builders.AssertionBuilder handleNoRegisteredBuilder(QName qname)
           
 boolean isIgnoreUnknownAssertions()
          Indicates if unknown assertions should simply be ignored.
protected  void loadDynamic()
           
 void setBus(Bus b)
           
 void setIgnoreUnknownAssertions(boolean ignore)
          Indicates if unknown assertions should simply be ignored.
 
Methods inherited from class org.apache.neethi.AssertionBuilderFactoryImpl
build, getBuilder, getConverterRegistry, getPolicyEngine, registerBuilder, registerBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.neethi.AssertionBuilderFactory
build, getBuilder, getConverterRegistry, getPolicyEngine, registerBuilder, registerBuilder
 

Constructor Detail

AssertionBuilderRegistryImpl

public AssertionBuilderRegistryImpl()

AssertionBuilderRegistryImpl

public AssertionBuilderRegistryImpl(Bus b)
Method Detail

setBus

public final void setBus(Bus b)

getRegistrationType

public Class<?> getRegistrationType()
Specified by:
getRegistrationType in interface BusExtension

isIgnoreUnknownAssertions

public boolean isIgnoreUnknownAssertions()
Description copied from interface: AssertionBuilderRegistry
Indicates if unknown assertions should simply be ignored. If set to false, the policy engine will throw an exception upon encountering an assertion type for which no AssertionBuilder has been registered.

Specified by:
isIgnoreUnknownAssertions in interface AssertionBuilderRegistry
Returns:
false if unknown assertions will result in an exception

setIgnoreUnknownAssertions

public void setIgnoreUnknownAssertions(boolean ignore)
Description copied from interface: AssertionBuilderRegistry
Indicates if unknown assertions should simply be ignored. If set to false, the policy engine will throw an exception upon encountering an assertion type for which no AssertionBuilder has been registered.

Specified by:
setIgnoreUnknownAssertions in interface AssertionBuilderRegistry
Parameters:
ignore - if unknown assertions should be ignored

loadDynamic

protected void loadDynamic()
Overrides:
loadDynamic in class org.apache.neethi.AssertionBuilderFactoryImpl

handleNoRegisteredBuilder

protected org.apache.neethi.builders.AssertionBuilder handleNoRegisteredBuilder(QName qname)
Overrides:
handleNoRegisteredBuilder in class org.apache.neethi.AssertionBuilderFactoryImpl

Apache CXF API

Apache CXF