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 Destination
public Conduit getBackChannel(Message inMessage) throws IOException
Destination
getBackChannel
in interface Destination
inMessage
- the current messageIOException
public BindingInfo getBindingInfo()
public EndpointInfo getEndPointInfo()
public CorbaTypeMap getCorbaTypeMap()
public void shutdown()
Destination
shutdown
in interface Destination
public ORB getORB(List<String> orbArgs, String location, Properties props)
protected ORB getOrb()
protected AddressType getAddressType()
public void setMessageObserver(MessageObserver observer)
Observable
setMessageObserver
in interface Observable
observer
- the observer to notify on receipt of incomingpublic void activate()
public String getDestinationAddress()
public MessageObserver getMessageObserver()
Observable
getMessageObserver
in interface Destination
getMessageObserver
in interface Observable
public void deactivate()
protected POA createPOA(String name, POA parentPOA, POAManager poaManager)
public EndpointReferenceType getAddressWithId(String id)
getAddressWithId
in interface MultiplexDestination
public String getId(Map<String,Object> contextMap)
getId
in interface MultiplexDestination
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 invocationApache CXF