org.apache.cxf.ws.policy
Class AbstractPolicyInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.ws.policy.AbstractPolicyInterceptor
- All Implemented Interfaces:
- Interceptor<Message>, PhaseInterceptor<Message>
- Direct Known Subclasses:
- ClientPolicyInFaultInterceptor, ClientPolicyInInterceptor, ClientPolicyOutInterceptor, PolicyVerificationInFaultInterceptor, PolicyVerificationInInterceptor, PolicyVerificationOutInterceptor, ServerPolicyInInterceptor, ServerPolicyOutFaultInterceptor, ServerPolicyOutInterceptor
public abstract class AbstractPolicyInterceptor
- extends AbstractPhaseInterceptor<Message>
|
Field Summary |
protected Bus |
bus
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bus
protected Bus bus
AbstractPolicyInterceptor
public AbstractPolicyInterceptor(java.lang.String phase)
AbstractPolicyInterceptor
public AbstractPolicyInterceptor(java.lang.String id,
java.lang.String phase)
setBus
public void setBus(Bus b)
getBus
public Bus getBus()
handleMessage
public void handleMessage(Message message)
throws Fault
- Description copied from interface:
Interceptor
- Intercepts a message.
Interceptors need NOT invoke handleMessage or handleFault
on the next interceptor - the interceptor chain will
take care of this.
- Throws:
Fault
getTransportAssertions
protected void getTransportAssertions(Message message)
getBindingFaultInfo
protected BindingFaultInfo getBindingFaultInfo(Message msg,
java.lang.Exception ex,
BindingOperationInfo boi)
handle
protected abstract void handle(Message message)
throws PolicyException
- Throws:
PolicyException
Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.