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 java.lang.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 org.apache.cxf.ws.addressing.EndpointReferenceType getAddress()
- Specified by:
getAddress
in interface Destination
- Returns:
- the reference associated with this Destination
getBackChannel
public Conduit getBackChannel(Message inMessage,
Message partialResponse,
org.apache.cxf.ws.addressing.EndpointReferenceType ref)
throws java.io.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:
java.io.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 org.omg.CORBA.ORB getORB(java.util.List<java.lang.String> orbArgs,
java.lang.String location,
java.util.Properties props)
getOrb
protected org.omg.CORBA.ORB getOrb()
getAddressType
protected org.apache.cxf.binding.corba.wsdl.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 java.lang.String getDestinationAddress()
getMessageObserver
public MessageObserver getMessageObserver()
- Specified by:
getMessageObserver
in interface Destination
deactivate
public void deactivate()
createPOA
protected org.omg.PortableServer.POA createPOA(java.lang.String name,
org.omg.PortableServer.POA parentPOA,
org.omg.PortableServer.POAManager poaManager)
getAddressWithId
public org.apache.cxf.ws.addressing.EndpointReferenceType getAddressWithId(java.lang.String id)
- Specified by:
getAddressWithId
in interface MultiplexDestination
- Returns:
- the a reference containing the id that is
associated with this Destination
getId
public java.lang.String getId(java.util.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