Package org.apache.cxf.binding.soap
Class SoapBindingFactory
- java.lang.Object
-
- org.apache.cxf.binding.AbstractBindingFactory
-
- org.apache.cxf.wsdl.binding.AbstractWSDLBindingFactory
-
- org.apache.cxf.binding.soap.SoapBindingFactory
-
- All Implemented Interfaces:
BindingFactory,WSDLBindingFactory
public class SoapBindingFactory extends AbstractWSDLBindingFactory
-
-
Field Summary
Fields Modifier and Type Field Description static Collection<String>DEFAULT_NAMESPACESstatic StringHEADERstatic StringOUT_OF_BAND_HEADERstatic StringSOAP_11_BINDINGstatic StringSOAP_12_BINDING-
Fields inherited from class org.apache.cxf.binding.AbstractBindingFactory
activationNamespaces, bus
-
-
Constructor Summary
Constructors Constructor Description SoapBindingFactory()SoapBindingFactory(Bus b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListener(Destination d, Endpoint e)Set the destination's message observer which is created by using the endpoint to listen the incoming messageprotected voidaddMessageFromBinding(javax.wsdl.extensions.ExtensibilityElement ext, BindingOperationInfo bop, boolean isInput)BindingcreateBinding(BindingInfo binding)Create a Binding from the BindingInfo metadata.BindingInfocreateBindingInfo(ServiceInfo si, String bindingid, Object conf)Creates a "default" BindingInfo object for the service.BindingInfocreateBindingInfo(ServiceInfo service, javax.wsdl.Binding binding, String ns)Copies extensors from the Binding to BindingInfo.protected voidsetupUDP(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:AbstractBindingFactoryCreates 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:
createBindingInfoin classAbstractBindingFactory
-
createBinding
public Binding createBinding(BindingInfo binding)
Description copied from interface:BindingFactoryCreate 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:
addMessageFromBindingin classAbstractWSDLBindingFactory
-
createBindingInfo
public BindingInfo createBindingInfo(ServiceInfo service, javax.wsdl.Binding binding, String ns)
Description copied from class:AbstractWSDLBindingFactoryCopies extensors from the Binding to BindingInfo.- Specified by:
createBindingInfoin interfaceWSDLBindingFactory- Overrides:
createBindingInfoin classAbstractWSDLBindingFactory
-
addListener
public void addListener(Destination d, Endpoint e)
Description copied from interface:BindingFactorySet the destination's message observer which is created by using the endpoint to listen the incoming message- Specified by:
addListenerin interfaceBindingFactory- Overrides:
addListenerin classAbstractBindingFactory- Parameters:
d- the destination that will be set the MessageObservere- the endpoint to build up the MessageObserver
-
-