Package org.apache.cxf.transport
Class AbstractMultiplexDestination
java.lang.Object
org.apache.cxf.transport.AbstractObservable
org.apache.cxf.transport.AbstractDestination
org.apache.cxf.transport.AbstractMultiplexDestination
- All Implemented Interfaces:
- Destination,- DestinationWithEndpoint,- MultiplexDestination,- Observable
public abstract class AbstractMultiplexDestination
extends AbstractDestination
implements MultiplexDestination
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestinationAbstractDestination.AbstractBackChannelConduit
- 
Field SummaryFields inherited from class org.apache.cxf.transport.AbstractDestinationbus, endpointInfo, referenceFields inherited from class org.apache.cxf.transport.AbstractObservableincomingObserver
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractMultiplexDestination(Bus b, org.apache.cxf.ws.addressing.EndpointReferenceType ref, EndpointInfo ei) 
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.cxf.ws.addressing.EndpointReferenceTypeBuilds an new endpoint reference using the current target reference as a template.Obtain id from reference parameters of the ws-a to address Requires the existance of ws-a interceptors on dispatch path to provide access to the ws-a headersMethods inherited from class org.apache.cxf.transport.AbstractDestinationgetAddress, getBackChannel, getEndpointInfo, getInbuiltBackChannel, shutdownMethods inherited from class org.apache.cxf.transport.AbstractObservableactivate, deactivate, getLogger, getMessageObserver, getTargetReference, getTargetReference, setMessageObserverMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.transport.DestinationgetAddress, getBackChannel, getMessageObserver, shutdownMethods inherited from interface org.apache.cxf.transport.ObservablesetMessageObserver
- 
Constructor Details- 
AbstractMultiplexDestinationpublic AbstractMultiplexDestination(Bus b, org.apache.cxf.ws.addressing.EndpointReferenceType ref, EndpointInfo ei) 
 
- 
- 
Method Details- 
getAddressWithIdBuilds an new endpoint reference using the current target reference as a template. The supplied id is endcoded using a reference parameter. This requires the ws-a interceptors to propagate the reference parameters on subsequent invokes using the returned reference.- Specified by:
- getAddressWithIdin interface- MultiplexDestination
- Parameters:
- id- the id to encode in the new reference
- Returns:
- the new reference with the id encoded as a reference parameter
- See Also:
 
- 
getIdObtain id from reference parameters of the ws-a to address Requires the existance of ws-a interceptors on dispatch path to provide access to the ws-a headers- Specified by:
- getIdin interface- MultiplexDestination
- Parameters:
- contextMap- the current invocation or message context
- Returns:
- the id from the reference parameters of the ws-a-to address or null if not found
- See Also:
 
 
-