Package org.apache.cxf.ws.rm
Class AbstractRMInterceptor<T extends Message>
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<T>
-
- org.apache.cxf.ws.rm.AbstractRMInterceptor<T>
-
- All Implemented Interfaces:
Interceptor<T>,PhaseInterceptor<T>
- Direct Known Subclasses:
RMCaptureInInterceptor,RMCaptureOutInterceptor,RMDeliveryInterceptor,RMInInterceptor,RMOutInterceptor
public abstract class AbstractRMInterceptor<T extends Message> extends AbstractPhaseInterceptor<T>
Interceptor responsible for implementing exchange of RM protocol messages, aggregating RM metadata in the application message and processing of RM metadata contained in incoming application messages. The same interceptor can be used on multiple endpoints.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRMInterceptor()protectedAbstractRMInterceptor(String phase)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BusgetBus()RMManagergetManager()protected abstract voidhandle(Message message)voidhandleMessage(Message msg)Intercepts a message.protected booleanisRMPolicyEnabled(Message msg)voidsetBus(Bus bus)voidsetManager(RMManager m)-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Constructor Detail
-
AbstractRMInterceptor
protected AbstractRMInterceptor(String phase)
-
AbstractRMInterceptor
protected AbstractRMInterceptor()
-
-
Method Detail
-
getManager
public RMManager getManager()
-
setManager
public void setManager(RMManager m)
-
getBus
public Bus getBus()
-
setBus
public void setBus(Bus bus)
-
handleMessage
public void handleMessage(Message msg) throws Fault
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Throws:
Fault
-
handle
protected abstract void handle(Message message) throws SequenceFault, RMException
- Throws:
SequenceFaultRMException
-
isRMPolicyEnabled
protected boolean isRMPolicyEnabled(Message msg)
-
-