Package org.apache.cxf.transport
Class MultipleEndpointObserver
- java.lang.Object
- 
- org.apache.cxf.transport.MultipleEndpointObserver
 
- 
- All Implemented Interfaces:
- MessageObserver
 
 public class MultipleEndpointObserver extends Object implements MessageObserver This MessageObserver creates an Interceptor chain which adds in the interceptors set on this class and the global Bus interceptors. At somepoint, it is expected that these interceptors will resolve the appropriate Endpoint/Binding combination and continue setting up the chain.
- 
- 
Field SummaryFields Modifier and Type Field Description protected List<Interceptor<? extends Message>>bindingInterceptorsprotected Busbusstatic StringENDPOINTSprotected List<Interceptor<? extends Message>>routingInterceptors
 - 
Constructor SummaryConstructors Constructor Description MultipleEndpointObserver(Bus bus)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PhaseInterceptorChaincreateChain()protected MessagecreateMessage(Message message)Give a chance for a Binding to customize their messageList<Interceptor<? extends Message>>getBindingInterceptors()Set<Endpoint>getEndpoints()List<Interceptor<? extends Message>>getRoutingInterceptors()voidonMessage(Message message)Called for an incoming message, i.e.protected voidsetExchangeProperties(Exchange exchange, Message m)
 
- 
- 
- 
Field Detail- 
ENDPOINTSpublic static final String ENDPOINTS - See Also:
- Constant Field Values
 
 - 
busprotected Bus bus 
 - 
bindingInterceptorsprotected List<Interceptor<? extends Message>> bindingInterceptors 
 - 
routingInterceptorsprotected List<Interceptor<? extends Message>> routingInterceptors 
 
- 
 - 
Constructor Detail- 
MultipleEndpointObserverpublic MultipleEndpointObserver(Bus bus) 
 
- 
 - 
Method Detail- 
onMessagepublic void onMessage(Message message) Description copied from interface:MessageObserverCalled for an incoming message, i.e. where the content format(s) is/are source(s).- Specified by:
- onMessagein interface- MessageObserver
 
 - 
createMessageprotected Message createMessage(Message message) Give a chance for a Binding to customize their message
 - 
createChainprotected PhaseInterceptorChain createChain() 
 - 
getBindingInterceptorspublic List<Interceptor<? extends Message>> getBindingInterceptors() 
 - 
getRoutingInterceptorspublic List<Interceptor<? extends Message>> getRoutingInterceptors() 
 
- 
 
-