Apache CXF API

org.apache.cxf.binding.soap
Class SoapBindingFactory

java.lang.Object
  extended by org.apache.cxf.binding.AbstractBindingFactory
      extended by org.apache.cxf.wsdl.binding.AbstractWSDLBindingFactory
          extended by org.apache.cxf.binding.soap.SoapBindingFactory
All Implemented Interfaces:
BindingFactory, WSDLBindingFactory

public class SoapBindingFactory
extends AbstractWSDLBindingFactory


Field Summary
static Collection<String> DEFAULT_NAMESPACES
           
static String HEADER
           
static String OUT_OF_BAND_HEADER
           
static String SOAP_11_BINDING
           
static String SOAP_12_BINDING
           
 
Fields inherited from class org.apache.cxf.binding.AbstractBindingFactory
activationNamespaces, bus
 
Constructor Summary
SoapBindingFactory()
           
SoapBindingFactory(Bus b)
           
 
Method Summary
 void addListener(Destination d, Endpoint e)
          Set the destination's message observer which is created by using the endpoint to listen the incoming message
protected  void addMessageFromBinding(javax.wsdl.extensions.ExtensibilityElement ext, BindingOperationInfo bop, boolean isInput)
           
 Binding createBinding(BindingInfo binding)
          Create a Binding from the BindingInfo metadata.
 BindingInfo createBindingInfo(ServiceInfo service, javax.wsdl.Binding binding, String ns)
          Copies extensors from the Binding to BindingInfo.
 BindingInfo createBindingInfo(ServiceInfo si, String bindingid, Object conf)
          Creates a "default" BindingInfo object for the service.
protected  void setupUDP(InterceptorProvider p, EndpointInfo ei)
           
 
Methods inherited from class org.apache.cxf.wsdl.binding.AbstractWSDLBindingFactory
initializeBindingInfo
 
Methods inherited from class org.apache.cxf.binding.AbstractBindingFactory
createBindingInfo, getActivationNamespaces, getBus, setActivationNamespaces, setBus
 
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.binding.BindingFactory
createBindingInfo
 

Field Detail

DEFAULT_NAMESPACES

public static final Collection<String> DEFAULT_NAMESPACES

SOAP_11_BINDING

public static final String SOAP_11_BINDING
See Also:
Constant Field Values

SOAP_12_BINDING

public static final String SOAP_12_BINDING
See Also:
Constant Field Values

HEADER

public static final String HEADER
See Also:
Constant Field Values

OUT_OF_BAND_HEADER

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

SoapBindingFactory

public SoapBindingFactory()

SoapBindingFactory

public SoapBindingFactory(Bus b)
Method Detail

createBindingInfo

public BindingInfo createBindingInfo(ServiceInfo si,
                                     String bindingid,
                                     Object conf)
Description copied from class: AbstractBindingFactory
Creates a "default" BindingInfo object for the service. Called by createBindingInfo(Service service, String binding, Object config) to actually create the BindingInfo. Can return a subclass which can then process the extensors within the subclass.

Overrides:
createBindingInfo in class AbstractBindingFactory

createBinding

public Binding createBinding(BindingInfo binding)
Description copied from interface: BindingFactory
Create a Binding from the BindingInfo metadata.

Returns:
the Binding object

setupUDP

protected void setupUDP(InterceptorProvider p,
                        EndpointInfo ei)

addMessageFromBinding

protected void addMessageFromBinding(javax.wsdl.extensions.ExtensibilityElement ext,
                                     BindingOperationInfo bop,
                                     boolean isInput)
Overrides:
addMessageFromBinding in class AbstractWSDLBindingFactory

createBindingInfo

public BindingInfo createBindingInfo(ServiceInfo service,
                                     javax.wsdl.Binding binding,
                                     String ns)
Description copied from class: AbstractWSDLBindingFactory
Copies extensors from the Binding to BindingInfo.

Specified by:
createBindingInfo in interface WSDLBindingFactory
Overrides:
createBindingInfo in class AbstractWSDLBindingFactory

addListener

public void addListener(Destination d,
                        Endpoint e)
Description copied from interface: BindingFactory
Set the destination's message observer which is created by using the endpoint to listen the incoming message

Specified by:
addListener in interface BindingFactory
Overrides:
addListener in class AbstractBindingFactory
Parameters:
d - the destination that will be set the MessageObserver
e - the endpoint to build up the MessageObserver

Apache CXF API

Apache CXF