org.apache.cxf.transport.jbi
Class JBITransportFactory

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

public class JBITransportFactory
extends AbstractTransportFactory
implements ConduitInitiator, DestinationFactory


Field Summary
static java.lang.String TRANSPORT_ID
           
 
Constructor Summary
JBITransportFactory()
           
 
Method Summary
 Bus getBus()
           
 Conduit getConduit(EndpointInfo targetInfo)
          Initiate an outbound Conduit.
 Conduit getConduit(EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target)
          Initiate an outbound Conduit.
 javax.jbi.messaging.DeliveryChannel getDeliveryChannel()
           
 Destination getDestination(EndpointInfo ei)
          Create a destination.
 JBIDestination getDestination(java.lang.String epName)
           
 java.util.Set<java.lang.String> getUriPrefixes()
           
 void putDestination(java.lang.String epName, JBIDestination destination)
           
 void removeDestination(java.lang.String epName)
           
 void setActivationNamespaces(java.util.Collection<java.lang.String> ans)
           
 void setBus(Bus b)
           
 void setDeliveryChannel(javax.jbi.messaging.DeliveryChannel newDeliverychannel)
           
 
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 java.lang.String TRANSPORT_ID
See Also:
Constant Field Values
Constructor Detail

JBITransportFactory

public JBITransportFactory()
Method Detail

setBus

public void setBus(Bus b)

getBus

public Bus getBus()

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

setActivationNamespaces

public void setActivationNamespaces(java.util.Collection<java.lang.String> ans)

getDeliveryChannel

public javax.jbi.messaging.DeliveryChannel getDeliveryChannel()

setDeliveryChannel

public void setDeliveryChannel(javax.jbi.messaging.DeliveryChannel newDeliverychannel)

getConduit

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

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

getConduit

public Conduit getConduit(EndpointInfo endpointInfo,
                          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:
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:
java.io.IOException

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

putDestination

public void putDestination(java.lang.String epName,
                           JBIDestination destination)
                    throws javax.jbi.JBIException
Throws:
javax.jbi.JBIException

getDestination

public JBIDestination getDestination(java.lang.String epName)

removeDestination

public void removeDestination(java.lang.String epName)


Apache CXF