Apache CXF API

org.apache.cxf.binding.soap
Class SoapTransportFactory

java.lang.Object
  extended by org.apache.cxf.transport.AbstractTransportFactory
      extended by org.apache.cxf.binding.soap.SoapTransportFactory
All Implemented Interfaces:
ConduitInitiator, DestinationFactory, WSDLEndpointFactory

public class SoapTransportFactory
extends AbstractTransportFactory
implements DestinationFactory, WSDLEndpointFactory, ConduitInitiator


Field Summary
static String CANNOT_GET_CONDUIT_ERROR
           
static String SOAP_11_HTTP_BINDING
           
static String SOAP_12_HTTP_BINDING
           
static String TRANSPORT_ID
           
 
Fields inherited from class org.apache.cxf.transport.AbstractTransportFactory
bus
 
Constructor Summary
SoapTransportFactory()
           
 
Method Summary
 EndpointInfo createEndpointInfo(ServiceInfo serviceInfo, BindingInfo b, javax.wsdl.Port port)
           
 void createPortExtensors(EndpointInfo ei, Service service)
           
 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.
 Set<String> getUriPrefixes()
           
 String mapTransportURI(String s, String address)
           
 void setActivationNamespaces(Collection<String> ans)
           
 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.DestinationFactory
getTransportIds
 
Methods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIds
 

Field Detail

CANNOT_GET_CONDUIT_ERROR

public static final String CANNOT_GET_CONDUIT_ERROR
See Also:
Constant Field Values

SOAP_11_HTTP_BINDING

public static final String SOAP_11_HTTP_BINDING
See Also:
Constant Field Values

SOAP_12_HTTP_BINDING

public static final String SOAP_12_HTTP_BINDING
See Also:
Constant Field Values

TRANSPORT_ID

public static final String TRANSPORT_ID
See Also:
Constant Field Values
Constructor Detail

SoapTransportFactory

public SoapTransportFactory()
Method Detail

getUriPrefixes

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

mapTransportURI

public String mapTransportURI(String s,
                              String address)

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

createPortExtensors

public void createPortExtensors(EndpointInfo ei,
                                Service service)
Specified by:
createPortExtensors in interface WSDLEndpointFactory

createEndpointInfo

public EndpointInfo createEndpointInfo(ServiceInfo serviceInfo,
                                       BindingInfo b,
                                       javax.wsdl.Port port)
Specified by:
createEndpointInfo in interface WSDLEndpointFactory

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

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

setBus

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

setActivationNamespaces

public void setActivationNamespaces(Collection<String> ans)

Apache CXF API

Apache CXF