Apache CXF API

org.apache.cxf.transport.servlet
Class ServletTransportFactory

java.lang.Object
  extended by org.apache.cxf.transport.AbstractTransportFactory
      extended by org.apache.cxf.transport.http.AbstractHTTPTransportFactory
          extended by org.apache.cxf.transport.servlet.ServletTransportFactory
All Implemented Interfaces:
ConduitInitiator, DestinationFactory, WSDLEndpointFactory

public class ServletTransportFactory
extends AbstractHTTPTransportFactory
implements DestinationFactory


Constructor Summary
ServletTransportFactory()
           
ServletTransportFactory(Bus b)
           
 
Method Summary
 Destination getDestination(EndpointInfo endpointInfo)
          Create a destination.
 ServletDestination getDestinationForPath(java.lang.String path)
           
 java.util.Collection<ServletDestination> getDestinations()
           
 java.util.Set<java.lang.String> getDestinationsPaths()
           
 void removeDestination(java.lang.String path)
           
 void setBus(Bus b)
          This method is used by Spring to inject the bus.
 
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPTransportFactory
configure, createEndpointInfo, createPortExtensors, getBus, getConduit, getConduit, getUriPrefixes, registerWithBindingManager, setActivationNamespaces
 
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, getUriPrefixes
 

Constructor Detail

ServletTransportFactory

public ServletTransportFactory(Bus b)

ServletTransportFactory

public ServletTransportFactory()
Method Detail

setBus

public void setBus(Bus b)
Description copied from class: AbstractHTTPTransportFactory
This method is used by Spring to inject the bus.

Overrides:
setBus in class AbstractHTTPTransportFactory
Parameters:
b - The CXF bus.

removeDestination

public void removeDestination(java.lang.String path)

getDestination

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

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

getDestinationForPath

public ServletDestination getDestinationForPath(java.lang.String path)

getDestinations

public java.util.Collection<ServletDestination> getDestinations()

getDestinationsPaths

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

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.