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 java.lang.String MESSAGE_FILTER_PROPERTIES
           
static java.lang.String MESSAGE_INCLUDE_PROPERTIES
           
static java.lang.String TRANSPORT_ID
           
 
Constructor Summary
LocalTransportFactory()
           
 
Method Summary
 void copy(Message message, Message copy)
           
 Bus getBus()
           
 Conduit getConduit(EndpointInfo ei)
          Initiate an outbound Conduit.
 Conduit getConduit(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType target)
          Initiate an outbound Conduit.
 Destination getDestination(EndpointInfo ei)
          Create a destination.
protected  Destination getDestination(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType reference)
           
 java.util.Set<java.lang.String> getIncludeMessageProperties()
           
 java.util.Set<java.lang.String> getMessageFilterProperties()
           
 java.util.Set<java.lang.String> getUriPrefixes()
           
 void setBus(Bus b)
           
 void setMessageFilterProperties(java.util.Set<java.lang.String> props)
           
 void setMessageIncludeProperties(java.util.Set<java.lang.String> props)
           
 
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.DestinationFactory
getTransportIds
 
Methods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIds
 

Field Detail

TRANSPORT_ID

public static final java.lang.String TRANSPORT_ID
See Also:
Constant Field Values

MESSAGE_FILTER_PROPERTIES

public static final java.lang.String MESSAGE_FILTER_PROPERTIES

MESSAGE_INCLUDE_PROPERTIES

public static final java.lang.String MESSAGE_INCLUDE_PROPERTIES
Constructor Detail

LocalTransportFactory

public LocalTransportFactory()
Method Detail

setBus

public void setBus(Bus b)

getBus

public Bus getBus()

getDestination

public Destination getDestination(EndpointInfo ei)
                           throws java.io.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:
java.io.IOException

getDestination

protected Destination getDestination(EndpointInfo ei,
                                     org.apache.cxf.ws.addressing.EndpointReferenceType reference)
                              throws java.io.IOException
Throws:
java.io.IOException

getConduit

public Conduit getConduit(EndpointInfo ei)
                   throws java.io.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:
java.io.IOException

getConduit

public Conduit getConduit(EndpointInfo ei,
                          org.apache.cxf.ws.addressing.EndpointReferenceType target)
                   throws java.io.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:
java.io.IOException

getUriPrefixes

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

getMessageFilterProperties

public java.util.Set<java.lang.String> getMessageFilterProperties()

setMessageFilterProperties

public void setMessageFilterProperties(java.util.Set<java.lang.String> props)

getIncludeMessageProperties

public java.util.Set<java.lang.String> getIncludeMessageProperties()

setMessageIncludeProperties

public void setMessageIncludeProperties(java.util.Set<java.lang.String> props)

copy

public void copy(Message message,
                 Message copy)


Apache CXF