Apache CXF API

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 Object
implements Conduit


Constructor Summary
CorbaConduit(EndpointInfo ei, EndpointReferenceType ref, OrbConfig config)
           
 
Method Summary
 void buildRequest(CorbaMessage message, OperationType opType)
           
 void close()
          Close the conduit
 void close(Message message)
          Close the connections associated with the message
protected  void finalize()
           
 String getAddress()
           
 NVList getArguments(CorbaMessage message)
           
 ExceptionList getExceptionList(Map<TypeCode,RaisesType> exceptions, CorbaMessage message, OperationType opType)
           
 MessageObserver getMessageObserver()
          Retrieves the message observer for incoming messages
 Map<TypeCode,RaisesType> getOperationExceptions(OperationType operation, CorbaTypeMap map)
           
 OrbConfig getOrbConfig()
           
 Request getRequest(CorbaMessage message, String opName, NVList nvlist, NamedValue ret, ExceptionList exList)
           
 NamedValue getReturn(CorbaMessage message)
           
 EndpointReferenceType getTarget()
           
 EndpointReferenceType getTargetReference(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,
                    EndpointReferenceType ref,
                    OrbConfig config)
Method Detail

getOrbConfig

public OrbConfig getOrbConfig()

prepareOrb

public void prepareOrb()

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

finalize

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

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

getTargetReference

public final EndpointReferenceType getTargetReference(EndpointReferenceType t)

getAddress

public final String getAddress()

buildRequest

public void buildRequest(CorbaMessage message,
                         OperationType opType)
                  throws Exception
Throws:
Exception

getArguments

public NVList getArguments(CorbaMessage message)

getReturn

public NamedValue getReturn(CorbaMessage message)

getExceptionList

public ExceptionList getExceptionList(Map<TypeCode,RaisesType> exceptions,
                                      CorbaMessage message,
                                      OperationType opType)

getRequest

public Request getRequest(CorbaMessage message,
                          String opName,
                          NVList nvlist,
                          NamedValue ret,
                          ExceptionList exList)
                   throws Exception
Throws:
Exception

getOperationExceptions

public Map<TypeCode,RaisesType> getOperationExceptions(OperationType operation,
                                                       CorbaTypeMap map)

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

Apache CXF API

Apache CXF