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 java.lang.Object
implements Conduit


Constructor Summary
CorbaServerConduit(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType ref, org.omg.CORBA.Object targetObj, org.omg.CORBA.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
 java.lang.String getAddress()
           
 Destination getBackChannel()
          Retreive the back-channel Destination.
 org.apache.cxf.ws.addressing.EndpointReferenceType getTarget()
           
 org.apache.cxf.ws.addressing.EndpointReferenceType getTargetReference(org.apache.cxf.ws.addressing.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,
                          org.apache.cxf.ws.addressing.EndpointReferenceType ref,
                          org.omg.CORBA.Object targetObj,
                          org.omg.CORBA.ORB o,
                          OrbConfig config,
                          CorbaTypeMap map)
Method Detail

prepare

public void prepare(Message message)
             throws java.io.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:
java.io.IOException

close

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

Specified by:
close in interface Conduit
Throws:
java.io.IOException

getTarget

public org.apache.cxf.ws.addressing.EndpointReferenceType getTarget()
Specified by:
getTarget in interface Conduit
Returns:
the reference associated with the target Destination

getBackChannel

public Destination getBackChannel()
Description copied from interface: Conduit
Retreive the back-channel Destination.

Specified by:
getBackChannel in interface Conduit
Returns:
the backchannel Destination (or null if the backchannel is built-in)

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

getTargetReference

public final org.apache.cxf.ws.addressing.EndpointReferenceType getTargetReference(org.apache.cxf.ws.addressing.EndpointReferenceType t)

getAddress

public final java.lang.String getAddress()

buildRequestResult

public void buildRequestResult(CorbaMessage msg)


Apache CXF