Package org.apache.cxf.transport.local
Class LocalConduit
- java.lang.Object
-
- org.apache.cxf.transport.AbstractObservable
-
- org.apache.cxf.transport.AbstractConduit
-
- org.apache.cxf.transport.local.LocalConduit
-
- All Implemented Interfaces:
Conduit,Observable
public class LocalConduit extends AbstractConduit
-
-
Field Summary
Fields Modifier and Type Field Description static StringDIRECT_DISPATCHstatic StringIN_CONDUITstatic StringIN_EXCHANGEstatic StringMESSAGE_FILTER_PROPERTIESstatic StringRESPONSE_CONDUIT-
Fields inherited from class org.apache.cxf.transport.AbstractConduit
target
-
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
-
-
Constructor Summary
Constructors Constructor Description LocalConduit(LocalTransportFactory transportFactory, LocalDestination destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose(Message message)Close the connections associated with the messageprotected LoggergetLogger()voidprepare(Message message)Prepare the message for sending.-
Methods inherited from class org.apache.cxf.transport.AbstractConduit
close, getTarget, toString
-
Methods inherited from class org.apache.cxf.transport.AbstractObservable
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.transport.Observable
getMessageObserver, setMessageObserver
-
-
-
-
Field Detail
-
IN_CONDUIT
public static final String IN_CONDUIT
-
RESPONSE_CONDUIT
public static final String RESPONSE_CONDUIT
-
IN_EXCHANGE
public static final String IN_EXCHANGE
-
DIRECT_DISPATCH
public static final String DIRECT_DISPATCH
-
MESSAGE_FILTER_PROPERTIES
public static final String MESSAGE_FILTER_PROPERTIES
-
-
Constructor Detail
-
LocalConduit
public LocalConduit(LocalTransportFactory transportFactory, LocalDestination destination)
-
-
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.- 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- Overrides:
closein classAbstractConduit- Parameters:
message- for which content should be closed.- Throws:
IOException
-
getLogger
protected Logger getLogger()
- Specified by:
getLoggerin classAbstractObservable- Returns:
- the logger to use
-
-