Apache CXF API

org.apache.cxf.ws.rm
Class AbstractRMInterceptor<T extends Message>

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<T>
      extended by org.apache.cxf.ws.rm.AbstractRMInterceptor<T>
All Implemented Interfaces:
Interceptor<T>, PhaseInterceptor<T>
Direct Known Subclasses:
RMCaptureInInterceptor, 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
protected AbstractRMInterceptor()
           
protected AbstractRMInterceptor(String phase)
           
 
Method Summary
 Bus getBus()
           
 RMManager getManager()
           
protected abstract  void handle(Message message)
           
 void handleMessage(Message msg)
          Intercepts a message.
 void setBus(Bus bus)
           
 void setManager(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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: Interceptor
Intercepts 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:
SequenceFault
RMException

Apache CXF API

Apache CXF