Package org.apache.xmlbeans.impl.soap
Class SOAPConnectionFactory
- java.lang.Object
-
- org.apache.xmlbeans.impl.soap.SOAPConnectionFactory
-
public abstract class SOAPConnectionFactory extends Object
A factory for creatingSOAPConnectionobjects. Implementation of this class is optional. IfSOAPConnectionFactory.newInstance()throws anUnsupportedOperationExceptionthen the implementation does not support the SAAJ communication infrastructure. OtherwiseSOAPConnectionobjects can be created by callingcreateConnection()on the newly createdSOAPConnectionFactoryobject.
-
-
Constructor Summary
Constructors Constructor Description SOAPConnectionFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract SOAPConnectioncreateConnection()Create a newSOAPConnection.static SOAPConnectionFactorynewInstance()Creates an instance of the defaultSOAPConnectionFactoryobject.
-
-
-
Method Detail
-
newInstance
public static SOAPConnectionFactory newInstance() throws SOAPException, UnsupportedOperationException
Creates an instance of the defaultSOAPConnectionFactoryobject.- Returns:
- a new instance of a default
SOAPConnectionFactoryobject - Throws:
SOAPException- if there was an error creating theSOAPConnectionFactoryUnsupportedOperationException- if newInstance is not supported.
-
createConnection
public abstract SOAPConnection createConnection() throws SOAPException
Create a newSOAPConnection.- Returns:
- the new
SOAPConnectionobject. - Throws:
SOAPException- if there was an exception creating theSOAPConnectionobject.
-
-