Package org.apache.cxf.transport.local
Class LocalTransportFactory
- java.lang.Object
-
- org.apache.cxf.transport.AbstractTransportFactory
-
- org.apache.cxf.transport.local.LocalTransportFactory
-
- All Implemented Interfaces:
ConduitInitiator,DestinationFactory
public class LocalTransportFactory extends AbstractTransportFactory implements DestinationFactory, ConduitInitiator
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>DEFAULT_NAMESPACESstatic StringMESSAGE_FILTER_PROPERTIESstatic StringMESSAGE_INCLUDE_PROPERTIESstatic StringTRANSPORT_ID-
Fields inherited from class org.apache.cxf.transport.AbstractTransportFactory
PREFERRED_TRANSPORT_ID
-
-
Constructor Summary
Constructors Constructor Description LocalTransportFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopy(Message message, Message copy)ConduitgetConduit(EndpointInfo ei, Bus bus)Initiate an outbound Conduit.ConduitgetConduit(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus)Initiate an outbound Conduit.LocalDestinationgetDestination(EndpointInfo ei, Bus bus)Create a destination.protected LocalDestinationgetDestination(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType reference, Bus bus)ExecutorgetExecutor(Bus bus)Set<String>getIncludeMessageProperties()Set<String>getMessageFilterProperties()Set<String>getUriPrefixes()voidsetExecutor(Executor executor)voidsetMessageFilterProperties(Set<String> props)voidsetMessageIncludeProperties(Set<String> props)voidsetUriPrefixes(Set<String> s)-
Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getTransportIds, setTransportIds
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIds
-
Methods inherited from interface org.apache.cxf.transport.DestinationFactory
getTransportIds
-
-
-
-
Field Detail
-
TRANSPORT_ID
public static final String TRANSPORT_ID
- See Also:
- Constant Field Values
-
MESSAGE_FILTER_PROPERTIES
public static final String MESSAGE_FILTER_PROPERTIES
-
MESSAGE_INCLUDE_PROPERTIES
public static final String MESSAGE_INCLUDE_PROPERTIES
-
-
Method Detail
-
getDestination
public LocalDestination getDestination(EndpointInfo ei, Bus bus) throws IOException
Description copied from interface:DestinationFactoryCreate a destination.- Specified by:
getDestinationin interfaceDestinationFactory- Parameters:
ei- the endpoint info of the destination.- Returns:
- the created Destination.
- Throws:
IOException
-
getDestination
protected LocalDestination getDestination(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType reference, Bus bus) throws IOException
- Throws:
IOException
-
setExecutor
public void setExecutor(Executor executor)
-
getConduit
public Conduit getConduit(EndpointInfo ei, Bus bus) throws IOException
Description copied from interface:ConduitInitiatorInitiate an outbound Conduit.- Specified by:
getConduitin interfaceConduitInitiator- Parameters:
ei- the endpoint info of the target- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
-
getConduit
public Conduit getConduit(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus) throws IOException
Description copied from interface:ConduitInitiatorInitiate an outbound Conduit.- Specified by:
getConduitin interfaceConduitInitiator- Parameters:
ei- the endpoint info for a local endpoint on which the the configuration should be basedtarget- the target EPR- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
-
getUriPrefixes
public Set<String> getUriPrefixes()
- Specified by:
getUriPrefixesin interfaceConduitInitiator- Specified by:
getUriPrefixesin interfaceDestinationFactory- Overrides:
getUriPrefixesin classAbstractTransportFactory
-
-