Apache CXF API

org.apache.cxf.transport.jms
Class JMSTransportFactory

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

public class JMSTransportFactory
extends AbstractTransportFactory
implements ConduitInitiator, DestinationFactory


Field Summary
static List<String> DEFAULT_NAMESPACES
           
 
Fields inherited from class org.apache.cxf.transport.AbstractTransportFactory
bus
 
Constructor Summary
JMSTransportFactory()
           
 
Method Summary
 Conduit getConduit(EndpointInfo endpointInfo)
          Initiate an outbound Conduit.
 Conduit getConduit(EndpointInfo endpointInfo, EndpointReferenceType target)
          Initiate an outbound Conduit.
 Destination getDestination(EndpointInfo endpointInfo)
          Create a destination.
 Set<String> getUriPrefixes()
           
 void setBus(Bus bus)
           
 
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.ConduitInitiator
getTransportIds
 
Methods inherited from interface org.apache.cxf.transport.DestinationFactory
getTransportIds
 

Field Detail

DEFAULT_NAMESPACES

public static final List<String> DEFAULT_NAMESPACES
Constructor Detail

JMSTransportFactory

public JMSTransportFactory()
Method Detail

setBus

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

getConduit

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

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

getConduit

public Conduit getConduit(EndpointInfo endpointInfo,
                          EndpointReferenceType target)
                   throws IOException
Initiate an outbound Conduit.

Specified by:
getConduit in interface ConduitInitiator
Parameters:
endpointInfo - 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

getDestination

public Destination getDestination(EndpointInfo endpointInfo)
                           throws IOException
Create a destination.

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

getUriPrefixes

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

Apache CXF API

Apache CXF