Apache CXF API

org.apache.cxf.binding.coloc
Class ColocOutInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.binding.coloc.ColocOutInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class ColocOutInterceptor
extends AbstractPhaseInterceptor<Message>


Constructor Summary
ColocOutInterceptor()
           
ColocOutInterceptor(Bus b)
           
 
Method Summary
protected  Message getInBoundMessage(Exchange ex)
           
 void handleMessage(Message message)
          Intercepts a message.
protected  void invokeColocObserver(Message outMsg, Endpoint inboundEndpoint)
           
protected  void invokeInboundChain(Exchange ex, Endpoint ep)
           
protected  Server isColocated(List<Server> servers, Endpoint endpoint, BindingOperationInfo boi)
           
protected  boolean isCompatibleOperationInfo(BindingOperationInfo sender, BindingOperationInfo receiver)
           
protected  boolean isSameOperationInfo(BindingOperationInfo sender, BindingOperationInfo receiver)
           
 void setBus(Bus bus)
           
 void setExchangeProperties(Exchange exchange, Endpoint ep)
           
protected  void setMessageObserver(MessageObserver observer)
           
 
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

ColocOutInterceptor

public ColocOutInterceptor()

ColocOutInterceptor

public ColocOutInterceptor(Bus b)
Method Detail

setBus

public void setBus(Bus bus)

handleMessage

public void handleMessage(Message message)
                   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

invokeColocObserver

protected void invokeColocObserver(Message outMsg,
                                   Endpoint inboundEndpoint)

invokeInboundChain

protected void invokeInboundChain(Exchange ex,
                                  Endpoint ep)

getInBoundMessage

protected Message getInBoundMessage(Exchange ex)

setMessageObserver

protected void setMessageObserver(MessageObserver observer)

isColocated

protected Server isColocated(List<Server> servers,
                             Endpoint endpoint,
                             BindingOperationInfo boi)

isSameOperationInfo

protected boolean isSameOperationInfo(BindingOperationInfo sender,
                                      BindingOperationInfo receiver)

isCompatibleOperationInfo

protected boolean isCompatibleOperationInfo(BindingOperationInfo sender,
                                            BindingOperationInfo receiver)

setExchangeProperties

public void setExchangeProperties(Exchange exchange,
                                  Endpoint ep)

Apache CXF API

Apache CXF