org.apache.cxf.binding.corba
Class CorbaDestination
java.lang.Object
org.apache.cxf.binding.corba.CorbaDestination
- All Implemented Interfaces:
- Destination, MultiplexDestination, Observable
public class CorbaDestination
- extends Object
- implements MultiplexDestination
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CorbaDestination
public CorbaDestination(EndpointInfo ei,
OrbConfig config)
CorbaDestination
public CorbaDestination(EndpointInfo ei,
OrbConfig config,
CorbaTypeMap tm)
getOrbConfig
public OrbConfig getOrbConfig()
getAddress
public EndpointReferenceType getAddress()
- Specified by:
getAddress in interface Destination
- Returns:
- the reference associated with this Destination
getBackChannel
public Conduit getBackChannel(Message inMessage,
Message partialResponse,
EndpointReferenceType ref)
throws IOException
- Description copied from interface:
Destination
- Retreive a back-channel Conduit, which must be policy-compatible
with the current Message and associated Destination. For example
compatible Quality of Protection must be asserted on the back-channel.
This would generally only be an issue if the back-channel is decoupled.
- Specified by:
getBackChannel in interface Destination
- Parameters:
inMessage - the current message (null to indicate a disassociated
back-channel.partialResponse - in the decoupled case, this is expected to be the
outbound Message to be sent over the in-built back-channel.ref - the backchannel address (null to indicate anonymous)
- Returns:
- a suitable Conduit
- Throws:
IOException
getBindingInfo
public BindingInfo getBindingInfo()
getEndPointInfo
public EndpointInfo getEndPointInfo()
getCorbaTypeMap
public CorbaTypeMap getCorbaTypeMap()
shutdown
public void shutdown()
- Description copied from interface:
Destination
- Shutdown the Destination, i.e. stop accepting incoming messages.
- Specified by:
shutdown in interface Destination
getORB
public ORB getORB(List<String> orbArgs,
String location,
Properties props)
getOrb
protected ORB getOrb()
getAddressType
protected AddressType getAddressType()
setMessageObserver
public void setMessageObserver(MessageObserver observer)
- Description copied from interface:
Observable
- Register a message observer for incoming messages.
- Specified by:
setMessageObserver in interface Observable
- Parameters:
observer - the observer to notify on receipt of incoming
activate
public void activate()
getDestinationAddress
public String getDestinationAddress()
getMessageObserver
public MessageObserver getMessageObserver()
- Specified by:
getMessageObserver in interface Destination
deactivate
public void deactivate()
createPOA
protected POA createPOA(String name,
POA parentPOA,
POAManager poaManager)
getAddressWithId
public EndpointReferenceType getAddressWithId(String id)
- Specified by:
getAddressWithId in interface MultiplexDestination
- Returns:
- the a reference containing the id that is
associated with this Destination
getId
public String getId(Map contextMap)
- Specified by:
getId in interface MultiplexDestination
- Parameters:
contextMap - for this invocation. Obtained for example from
JAX-WS WebServiceContext.getMessageContext(). The context will
either contain the WS-A To content and/or some property that
identifies the target address, eg MessageContext.PATH_INFO for
the current invocation
- Returns:
- the id associated with the current invocation
Apache CXF