Package org.apache.cxf.binding.corba
Class CorbaConduit
- java.lang.Object
-
- org.apache.cxf.binding.corba.CorbaConduit
-
- All Implemented Interfaces:
Conduit,Observable
public class CorbaConduit extends Object implements Conduit
-
-
Constructor Summary
Constructors Constructor Description CorbaConduit(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType ref, OrbConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildRequest(CorbaMessage message, OperationType opType)voidclose()Close the conduitvoidclose(Message message)Close the connections associated with the messageStringgetAddress()org.omg.CORBA.NVListgetArguments(CorbaMessage message)org.omg.CORBA.ExceptionListgetExceptionList(Map<org.omg.CORBA.TypeCode,RaisesType> exceptions, CorbaMessage message, OperationType opType)MessageObservergetMessageObserver()Retrieves the message observer for incoming messagesMap<org.omg.CORBA.TypeCode,RaisesType>getOperationExceptions(OperationType operation, CorbaTypeMap map)OrbConfiggetOrbConfig()org.omg.CORBA.RequestgetRequest(CorbaMessage message, String opName, org.omg.CORBA.NVList nvlist, org.omg.CORBA.NamedValue ret, org.omg.CORBA.ExceptionList exList)org.omg.CORBA.NamedValuegetReturn(CorbaMessage message)org.apache.cxf.ws.addressing.EndpointReferenceTypegetTarget()org.apache.cxf.ws.addressing.EndpointReferenceTypegetTargetReference(org.apache.cxf.ws.addressing.EndpointReferenceType t)voidprepare(Message message)Prepare the message for sending.voidprepareOrb()voidsetMessageObserver(MessageObserver observer)Register a message observer for incoming messages.
-
-
-
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 IOException
Description copied from interface:ConduitPrepare the message for sending. This will typically involve setting an OutputStream on the message, but it may do nothing at all.- Specified by:
preparein interfaceConduit- Parameters:
message- the message to be sent.- Throws:
IOException
-
close
public void close(Message message) throws IOException
Description copied from interface:ConduitClose the connections associated with the message- Specified by:
closein interfaceConduit- Throws:
IOException
-
getTarget
public org.apache.cxf.ws.addressing.EndpointReferenceType getTarget()
-
close
public void close()
Description copied from interface:ConduitClose the conduit
-
setMessageObserver
public void setMessageObserver(MessageObserver observer)
Description copied from interface:ObservableRegister a message observer for incoming messages.- Specified by:
setMessageObserverin interfaceObservable- 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 String getAddress()
-
buildRequest
public void buildRequest(CorbaMessage message, OperationType opType) throws Exception
- Throws:
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(Map<org.omg.CORBA.TypeCode,RaisesType> exceptions, CorbaMessage message, OperationType opType)
-
getRequest
public org.omg.CORBA.Request getRequest(CorbaMessage message, String opName, org.omg.CORBA.NVList nvlist, org.omg.CORBA.NamedValue ret, org.omg.CORBA.ExceptionList exList) throws Exception
- Throws:
Exception
-
getOperationExceptions
public Map<org.omg.CORBA.TypeCode,RaisesType> getOperationExceptions(OperationType operation, CorbaTypeMap map)
-
getMessageObserver
public MessageObserver getMessageObserver()
Description copied from interface:ObservableRetrieves the message observer for incoming messages- Specified by:
getMessageObserverin interfaceObservable- Returns:
- the MessageObserver for incoming messages
-
-