public class CorbaDestination extends Object implements MultiplexDestination
| Constructor and Description |
|---|
CorbaDestination(EndpointInfo ei,
OrbConfig config) |
CorbaDestination(EndpointInfo ei,
OrbConfig config,
CorbaTypeMap tm) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
protected POA |
createPOA(String name,
POA parentPOA,
POAManager poaManager) |
void |
deactivate() |
EndpointReferenceType |
getAddress() |
protected AddressType |
getAddressType() |
EndpointReferenceType |
getAddressWithId(String id) |
Conduit |
getBackChannel(Message inMessage)
Retreive a back-channel Conduit, which must be policy-compatible
with the current Message and associated Destination.
|
BindingInfo |
getBindingInfo() |
CorbaTypeMap |
getCorbaTypeMap() |
String |
getDestinationAddress() |
EndpointInfo |
getEndPointInfo() |
String |
getId(Map<String,Object> contextMap) |
MessageObserver |
getMessageObserver()
Retrieves the message observer for incoming messages
|
protected ORB |
getOrb() |
ORB |
getORB(List<String> orbArgs,
String location,
Properties props) |
OrbConfig |
getOrbConfig() |
void |
setMessageObserver(MessageObserver observer)
Register a message observer for incoming messages.
|
void |
shutdown()
Shutdown the Destination, i.e.
|
public CorbaDestination(EndpointInfo ei, OrbConfig config)
public CorbaDestination(EndpointInfo ei, OrbConfig config, CorbaTypeMap tm)
public OrbConfig getOrbConfig()
public EndpointReferenceType getAddress()
getAddress in interface Destinationpublic Conduit getBackChannel(Message inMessage) throws IOException
DestinationgetBackChannel in interface DestinationinMessage - the current messageIOExceptionpublic BindingInfo getBindingInfo()
public EndpointInfo getEndPointInfo()
public CorbaTypeMap getCorbaTypeMap()
public void shutdown()
Destinationshutdown in interface Destinationpublic ORB getORB(List<String> orbArgs, String location, Properties props)
protected ORB getOrb()
protected AddressType getAddressType()
public void setMessageObserver(MessageObserver observer)
ObservablesetMessageObserver in interface Observableobserver - the observer to notify on receipt of incomingpublic void activate()
public String getDestinationAddress()
public MessageObserver getMessageObserver()
ObservablegetMessageObserver in interface DestinationgetMessageObserver in interface Observablepublic void deactivate()
protected POA createPOA(String name, POA parentPOA, POAManager poaManager)
public EndpointReferenceType getAddressWithId(String id)
getAddressWithId in interface MultiplexDestinationpublic String getId(Map<String,Object> contextMap)
getId in interface MultiplexDestinationcontextMap - 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 invocationApache CXF