org.ow2.jonas.ws.cxf.http
Class JOnASHTTPTransportFactory

java.lang.Object
  extended by org.apache.cxf.transport.AbstractTransportFactory
      extended by org.apache.cxf.transport.http.AbstractHTTPTransportFactory
          extended by org.ow2.jonas.ws.cxf.http.JOnASHTTPTransportFactory
All Implemented Interfaces:
org.apache.cxf.transport.ConduitInitiator, org.apache.cxf.transport.DestinationFactory, org.apache.cxf.wsdl11.WSDLEndpointFactory

public final class JOnASHTTPTransportFactory
extends org.apache.cxf.transport.http.AbstractHTTPTransportFactory
implements org.apache.cxf.transport.DestinationFactory

JOnAS specialized HTTP TransportFactory. It's mainly used as a DestinationFactory for JOnASDestination.

Author:
Guillaume Sauthier, Florent Benoit

Field Summary
 
Fields inherited from class org.apache.cxf.transport.http.AbstractHTTPTransportFactory
activationNamespaces, bus
 
Constructor Summary
JOnASHTTPTransportFactory(org.apache.cxf.Bus bus)
          Build a new JOnAS transport factory for the given bus.
 
Method Summary
 org.apache.cxf.transport.Destination getDestination(org.apache.cxf.service.model.EndpointInfo endpointInfo)
           
 
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPTransportFactory
configure, configure, createEndpointInfo, createPortExtensors, getBus, getConduit, getConduit, getUriPrefixes, registerWithBindingManager, setActivationNamespaces, setBus
 
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

JOnASHTTPTransportFactory

public JOnASHTTPTransportFactory(org.apache.cxf.Bus bus)
Build a new JOnAS transport factory for the given bus.

Parameters:
bus - the CXF bus.
Method Detail

getDestination

public org.apache.cxf.transport.Destination getDestination(org.apache.cxf.service.model.EndpointInfo endpointInfo)
                                                    throws IOException
Specified by:
getDestination in interface org.apache.cxf.transport.DestinationFactory
Parameters:
endpointInfo - the given endpoint information
Returns:
a new JOnASDestination for the given EndpointInfo.
Throws:
IOException - if the JOnASDestination is not created.


Copyright © 2010 OW2 Consortium. All Rights Reserved.