org.apache.cxf.ws.policy
Class AbstractPolicyInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      extended by org.apache.cxf.ws.policy.AbstractPolicyInterceptor
All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
Direct Known Subclasses:
ClientPolicyInFaultInterceptor, PolicyInInterceptor, PolicyOutInterceptor, PolicyVerificationInFaultInterceptor, PolicyVerificationInInterceptor, PolicyVerificationOutInterceptor, ServerPolicyOutFaultInterceptor

public abstract class AbstractPolicyInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>


Constructor Summary
AbstractPolicyInterceptor(String phase)
           
AbstractPolicyInterceptor(String id, String phase)
           
 
Method Summary
protected  org.apache.cxf.service.model.BindingFaultInfo getBindingFaultInfo(org.apache.cxf.message.Message msg, Exception ex, org.apache.cxf.service.model.BindingOperationInfo boi)
           
protected  void getTransportAssertions(org.apache.cxf.message.Message message)
           
protected abstract  void handle(org.apache.cxf.message.Message message)
           
 void handleMessage(org.apache.cxf.message.Message message)
           
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPolicyInterceptor

public AbstractPolicyInterceptor(String phase)

AbstractPolicyInterceptor

public AbstractPolicyInterceptor(String id,
                                 String phase)
Method Detail

handleMessage

public void handleMessage(org.apache.cxf.message.Message message)
                   throws org.apache.cxf.interceptor.Fault
Throws:
org.apache.cxf.interceptor.Fault

getTransportAssertions

protected void getTransportAssertions(org.apache.cxf.message.Message message)

getBindingFaultInfo

protected org.apache.cxf.service.model.BindingFaultInfo getBindingFaultInfo(org.apache.cxf.message.Message msg,
                                                                            Exception ex,
                                                                            org.apache.cxf.service.model.BindingOperationInfo boi)

handle

protected abstract void handle(org.apache.cxf.message.Message message)
                        throws PolicyException
Throws:
PolicyException


Apache CXF