Package org.apache.cxf.transport
Class AbstractObservable
java.lang.Object
org.apache.cxf.transport.AbstractObservable
- All Implemented Interfaces:
- Observable
- Direct Known Subclasses:
- AbstractConduit,- AbstractDestination
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidactivate()Activate messages flow.protected voidDeactivate messages flow.protected abstract LoggerRetrieves the message observer for incoming messagesprotected static org.apache.cxf.ws.addressing.EndpointReferenceTypegetTargetReference(EndpointInfo ei, Bus bus) Get the target reference .protected static org.apache.cxf.ws.addressing.EndpointReferenceTypegetTargetReference(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t, Bus bus) Get the target endpoint reference.voidsetMessageObserver(MessageObserver observer) Register a message observer for incoming messages.
- 
Field Details- 
incomingObserver
 
- 
- 
Constructor Details- 
AbstractObservablepublic AbstractObservable()
 
- 
- 
Method Details- 
setMessageObserverRegister a message observer for incoming messages.- Specified by:
- setMessageObserverin interface- Observable
- Parameters:
- observer- the observer to notify on receipt of incoming message
 
- 
getMessageObserverDescription copied from interface:ObservableRetrieves the message observer for incoming messages- Specified by:
- getMessageObserverin interface- Observable
- Returns:
- the observer to notify on receipt of incoming message
 
- 
getTargetReferenceprotected static org.apache.cxf.ws.addressing.EndpointReferenceType getTargetReference(EndpointInfo ei, Bus bus) Get the target reference .- Parameters:
- ei- the corresponding EndpointInfo
- Returns:
- the actual target
 
- 
getTargetReferenceprotected static org.apache.cxf.ws.addressing.EndpointReferenceType getTargetReference(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t, Bus bus) Get the target endpoint reference.- Parameters:
- ei- the corresponding EndpointInfo
- t- the given target EPR if available
- bus- the Bus
- Returns:
- the actual target
 
- 
activateprotected void activate()Activate messages flow.
- 
deactivateprotected void deactivate()Deactivate messages flow.
- 
getLogger- Returns:
- the logger to use
 
 
-