org.apache.cxf.binding.corba
Class CorbaConduit

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

public class CorbaConduit
extends java.lang.Object
implements Conduit


Constructor Summary
CorbaConduit(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType ref, OrbConfig config)
           
 
Method Summary
 void buildRequest(CorbaMessage message, org.apache.cxf.binding.corba.wsdl.OperationType opType)
           
 void close()
          Close the conduit
 void close(Message message)
          Close the connections associated with the message
protected  void finalize()
           
 java.lang.String getAddress()
           
 org.omg.CORBA.NVList getArguments(CorbaMessage message)
           
 Destination getBackChannel()
          Retreive the back-channel Destination.
 org.omg.CORBA.ExceptionList getExceptionList(java.util.Map<org.omg.CORBA.TypeCode,org.apache.cxf.binding.corba.wsdl.RaisesType> exceptions, CorbaMessage message, org.apache.cxf.binding.corba.wsdl.OperationType opType)
           
 java.util.Map<org.omg.CORBA.TypeCode,org.apache.cxf.binding.corba.wsdl.RaisesType> getOperationExceptions(org.apache.cxf.binding.corba.wsdl.OperationType operation, CorbaTypeMap map)
           
 OrbConfig getOrbConfig()
           
 org.omg.CORBA.Request getRequest(CorbaMessage message, java.lang.String opName, org.omg.CORBA.NVList nvlist, org.omg.CORBA.NamedValue ret, org.omg.CORBA.ExceptionList exList)
           
 org.omg.CORBA.NamedValue getReturn(CorbaMessage message)
           
 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 prepareOrb()
           
 void setMessageObserver(MessageObserver observer)
          Register a message observer for incoming messages.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorbaConduit

public CorbaConduit(EndpointInfo ei,
                    org.apache.cxf.ws.addressing.EndpointReferenceType ref,
                    OrbConfig config)
Method Detail

getOrbConfig

public OrbConfig getOrbConfig()

prepareOrb

public void prepareOrb()

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

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

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()

buildRequest

public void buildRequest(CorbaMessage message,
                         org.apache.cxf.binding.corba.wsdl.OperationType opType)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getArguments

public org.omg.CORBA.NVList getArguments(CorbaMessage message)

getReturn

public org.omg.CORBA.NamedValue getReturn(CorbaMessage message)

getExceptionList

public org.omg.CORBA.ExceptionList getExceptionList(java.util.Map<org.omg.CORBA.TypeCode,org.apache.cxf.binding.corba.wsdl.RaisesType> exceptions,
                                                    CorbaMessage message,
                                                    org.apache.cxf.binding.corba.wsdl.OperationType opType)

getRequest

public org.omg.CORBA.Request getRequest(CorbaMessage message,
                                        java.lang.String opName,
                                        org.omg.CORBA.NVList nvlist,
                                        org.omg.CORBA.NamedValue ret,
                                        org.omg.CORBA.ExceptionList exList)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getOperationExceptions

public java.util.Map<org.omg.CORBA.TypeCode,org.apache.cxf.binding.corba.wsdl.RaisesType> getOperationExceptions(org.apache.cxf.binding.corba.wsdl.OperationType operation,
                                                                                                                 CorbaTypeMap map)


Apache CXF