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


Field Summary
 
Fields inherited from class org.apache.cxf.transport.http.AbstractHTTPTransportFactory
activationNamespaces, bus
 
Constructor Summary
ServletTransportFactory()
           
ServletTransportFactory(Bus b)
           
 
Method Summary
 Destination getDestination(EndpointInfo endpointInfo)
          Create a destination.
 ServletDestination getDestinationForPath(java.lang.String path)
           
 ServletDestination getDestinationForPath(java.lang.String path, boolean tryDecoding)
           
 java.util.Collection<ServletDestination> getDestinations()
           
 java.util.Set<java.lang.String> getDestinationsPaths()
           
 void register()
           
 void removeDestination(java.lang.String path)
           
 void setBus(Bus b)
          This method is used by Spring to inject the bus.
 void setServletController(ServletController c)
           
 
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPTransportFactory
configure, 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
 
Methods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIds
 

Constructor Detail

ServletTransportFactory

public ServletTransportFactory(Bus b)

ServletTransportFactory

public ServletTransportFactory()
Method Detail

setServletController

public void setServletController(ServletController c)

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.

register

@PostConstruct
public void register()

removeDestination

public void removeDestination(java.lang.String path)
                       throws java.io.IOException
Throws:
java.io.IOException

getDestination

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

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

getDestinationForPath

public ServletDestination getDestinationForPath(java.lang.String path)

getDestinationForPath

public ServletDestination getDestinationForPath(java.lang.String path,
                                                boolean tryDecoding)

getDestinations

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

getDestinationsPaths

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


Apache CXF