Apache CXF API

org.apache.cxf.binding.corba
Class CorbaServerConduit

java.lang.Object
  extended by org.apache.cxf.binding.corba.CorbaServerConduit
All Implemented Interfaces:
Conduit, Observable

public class CorbaServerConduit
extends Object
implements Conduit


Constructor Summary
CorbaServerConduit(EndpointInfo ei, EndpointReferenceType ref, Object targetObj, ORB o, OrbConfig config, CorbaTypeMap map)
           
 
Method Summary
 void buildRequestResult(CorbaMessage msg)
           
 void close()
          Close the conduit
 void close(Message message)
          Close the connections associated with the message
 String getAddress()
           
 MessageObserver getMessageObserver()
          Retrieves the message observer for incoming messages
 EndpointReferenceType getTarget()
           
 EndpointReferenceType getTargetReference(EndpointReferenceType t)
           
 void prepare(Message message)
          Prepare the message for sending.
 void setMessageObserver(MessageObserver observer)
          Register a message observer for incoming messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorbaServerConduit

public CorbaServerConduit(EndpointInfo ei,
                          EndpointReferenceType ref,
                          Object targetObj,
                          ORB o,
                          OrbConfig config,
                          CorbaTypeMap map)
Method Detail

prepare

public void prepare(Message message)
             throws IOException
Description copied from interface: Conduit
Prepare the message for sending. This will typically involve setting an OutputStream on the message, but it may do nothing at all.

Specified by:
prepare in interface Conduit
Parameters:
message - the message to be sent.
Throws:
IOException

close

public void close(Message message)
           throws IOException
Description copied from interface: Conduit
Close the connections associated with the message

Specified by:
close in interface Conduit
Throws:
IOException

getTarget

public EndpointReferenceType getTarget()
Specified by:
getTarget in interface Conduit
Returns:
the reference associated with the target Destination

close

public void close()
Description copied from interface: Conduit
Close the conduit

Specified by:
close in interface Conduit

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

getMessageObserver

public MessageObserver getMessageObserver()
Description copied from interface: Observable
Retrieves the message observer for incoming messages

Specified by:
getMessageObserver in interface Observable
Returns:
the MessageObserver for incoming messages

getTargetReference

public final EndpointReferenceType getTargetReference(EndpointReferenceType t)

getAddress

public final String getAddress()

buildRequestResult

public void buildRequestResult(CorbaMessage msg)

Apache CXF API

Apache CXF