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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
activate()
Activate messages flow.protected void
Deactivate messages flow.protected abstract Logger
Retrieves the message observer for incoming messagesprotected static org.apache.cxf.ws.addressing.EndpointReferenceType
getTargetReference
(EndpointInfo ei, Bus bus) Get the target reference .protected static org.apache.cxf.ws.addressing.EndpointReferenceType
getTargetReference
(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t, Bus bus) Get the target endpoint reference.void
setMessageObserver
(MessageObserver observer) Register a message observer for incoming messages.
-
Field Details
-
incomingObserver
-
-
Constructor Details
-
AbstractObservable
public AbstractObservable()
-
-
Method Details
-
setMessageObserver
Register a message observer for incoming messages.- Specified by:
setMessageObserver
in interfaceObservable
- Parameters:
observer
- the observer to notify on receipt of incoming message
-
getMessageObserver
Description copied from interface:Observable
Retrieves the message observer for incoming messages- Specified by:
getMessageObserver
in interfaceObservable
- Returns:
- the observer to notify on receipt of incoming message
-
getTargetReference
protected 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
-
getTargetReference
protected 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 EndpointInfot
- the given target EPR if availablebus
- the Bus- Returns:
- the actual target
-
activate
protected void activate()Activate messages flow. -
deactivate
protected void deactivate()Deactivate messages flow. -
getLogger
- Returns:
- the logger to use
-