Apache CXF API

org.apache.cxf.transport.local
Class LocalTransportFactory

java.lang.Object
  extended by org.apache.cxf.transport.AbstractTransportFactory
      extended by org.apache.cxf.transport.local.LocalTransportFactory
All Implemented Interfaces:
ConduitInitiator, DestinationFactory

public class LocalTransportFactory
extends AbstractTransportFactory
implements DestinationFactory, ConduitInitiator


Field Summary
static List<String> DEFAULT_NAMESPACES
           
static String MESSAGE_FILTER_PROPERTIES
           
static String MESSAGE_INCLUDE_PROPERTIES
           
static String TRANSPORT_ID
           
 
Fields inherited from class org.apache.cxf.transport.AbstractTransportFactory
bus
 
Constructor Summary
LocalTransportFactory()
           
LocalTransportFactory(Bus b)
           
 
Method Summary
 void copy(Message message, Message copy)
           
 Conduit getConduit(EndpointInfo ei)
          Initiate an outbound Conduit.
 Conduit getConduit(EndpointInfo ei, EndpointReferenceType target)
          Initiate an outbound Conduit.
 Destination getDestination(EndpointInfo ei)
          Create a destination.
protected  Destination getDestination(EndpointInfo ei, EndpointReferenceType reference)
           
 Executor getExecutor()
           
 Set<String> getIncludeMessageProperties()
           
 Set<String> getMessageFilterProperties()
           
 Set<String> getUriPrefixes()
           
 void setBus(Bus b)
           
 void setExecutor(Executor executor)
           
 void setMessageFilterProperties(Set<String> props)
           
 void setMessageIncludeProperties(Set<String> props)
           
 void setUriPrefixes(Set<String> s)
           
 
Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getBus, getTransportIds, register, setTransportIds, unregister
 
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.DestinationFactory
getTransportIds
 
Methods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIds
 

Field Detail

TRANSPORT_ID

public static final String TRANSPORT_ID
See Also:
Constant Field Values

DEFAULT_NAMESPACES

public static final List<String> DEFAULT_NAMESPACES

MESSAGE_FILTER_PROPERTIES

public static final String MESSAGE_FILTER_PROPERTIES

MESSAGE_INCLUDE_PROPERTIES

public static final String MESSAGE_INCLUDE_PROPERTIES
Constructor Detail

LocalTransportFactory

public LocalTransportFactory()

LocalTransportFactory

public LocalTransportFactory(Bus b)
Method Detail

setBus

public void setBus(Bus b)
Overrides:
setBus in class AbstractTransportFactory

getDestination

public Destination getDestination(EndpointInfo ei)
                           throws IOException
Description copied from interface: DestinationFactory
Create a destination.

Specified by:
getDestination in interface DestinationFactory
Parameters:
ei - the endpoint info of the destination.
Returns:
the created Destination.
Throws:
IOException

getDestination

protected Destination getDestination(EndpointInfo ei,
                                     EndpointReferenceType reference)
                              throws IOException
Throws:
IOException

getExecutor

public Executor getExecutor()

setExecutor

public void setExecutor(Executor executor)

getConduit

public Conduit getConduit(EndpointInfo ei)
                   throws IOException
Description copied from interface: ConduitInitiator
Initiate an outbound Conduit.

Specified by:
getConduit in interface ConduitInitiator
Parameters:
ei - the endpoint info of the target
Returns:
a suitable new or pre-existing Conduit
Throws:
IOException

getConduit

public Conduit getConduit(EndpointInfo ei,
                          EndpointReferenceType target)
                   throws IOException
Description copied from interface: ConduitInitiator
Initiate an outbound Conduit.

Specified by:
getConduit in interface ConduitInitiator
Parameters:
ei - the endpoint info for a local endpoint on which the the configuration should be based
target - the target EPR
Returns:
a suitable new or pre-existing Conduit
Throws:
IOException

getUriPrefixes

public Set<String> getUriPrefixes()
Specified by:
getUriPrefixes in interface ConduitInitiator
Specified by:
getUriPrefixes in interface DestinationFactory
Overrides:
getUriPrefixes in class AbstractTransportFactory

setUriPrefixes

public void setUriPrefixes(Set<String> s)

getMessageFilterProperties

public Set<String> getMessageFilterProperties()

setMessageFilterProperties

public void setMessageFilterProperties(Set<String> props)

getIncludeMessageProperties

public Set<String> getIncludeMessageProperties()

setMessageIncludeProperties

public void setMessageIncludeProperties(Set<String> props)

copy

public void copy(Message message,
                 Message copy)

Apache CXF API

Apache CXF