public abstract class AbstractDestination extends AbstractObservable implements Destination, DestinationWithEndpoint
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractDestination.AbstractBackChannelConduit
Backchannel conduit.
|
Modifier and Type | Field and Description |
---|---|
protected Bus |
bus |
protected EndpointInfo |
endpointInfo |
protected EndpointReferenceType |
reference |
incomingObserver
Constructor and Description |
---|
AbstractDestination(Bus b,
EndpointReferenceType ref,
EndpointInfo ei) |
AbstractDestination(EndpointReferenceType ref,
EndpointInfo ei) |
Modifier and Type | Method and Description |
---|---|
EndpointReferenceType |
getAddress() |
Conduit |
getBackChannel(Message inMessage)
Retrieve a back-channel Conduit, which must be policy-compatible
with the current Message and associated Destination.
|
EndpointInfo |
getEndpointInfo()
Return the ServiceModel endpoint description for this destination.
|
protected abstract Conduit |
getInbuiltBackChannel(Message inMessage) |
void |
shutdown()
Shutdown the Destination, i.e.
|
activate, deactivate, getLogger, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessageObserver
setMessageObserver
protected final EndpointReferenceType reference
protected final EndpointInfo endpointInfo
protected final Bus bus
public AbstractDestination(EndpointReferenceType ref, EndpointInfo ei)
public AbstractDestination(Bus b, EndpointReferenceType ref, EndpointInfo ei)
public EndpointReferenceType getAddress()
getAddress
in interface Destination
public Conduit getBackChannel(Message inMessage) throws IOException
getBackChannel
in interface Destination
inMessage
- the current inbound message (null to indicate a
disassociated back-channel)IOException
public void shutdown()
shutdown
in interface Destination
protected abstract Conduit getInbuiltBackChannel(Message inMessage)
inMessage
- the incoming messagepublic EndpointInfo getEndpointInfo()
getEndpointInfo
in interface DestinationWithEndpoint
Copyright © 2021 JBoss by Red Hat. All rights reserved.