Package org.apache.cxf.binding.corba
Class CorbaServerConduit
- java.lang.Object
-
- org.apache.cxf.binding.corba.CorbaServerConduit
-
- All Implemented Interfaces:
Conduit,Observable
public class CorbaServerConduit extends Object implements Conduit
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildRequestResult(CorbaMessage msg)voidclose()Close the conduitvoidclose(Message message)Close the connections associated with the messageStringgetAddress()MessageObservergetMessageObserver()Retrieves the message observer for incoming messagesorg.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.voidsetMessageObserver(MessageObserver observer)Register a message observer for incoming messages.
-
-
-
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 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
-
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
-
getTargetReference
public final org.apache.cxf.ws.addressing.EndpointReferenceType getTargetReference(org.apache.cxf.ws.addressing.EndpointReferenceType t)
-
getAddress
public final String getAddress()
-
buildRequestResult
public void buildRequestResult(CorbaMessage msg)
-
-