public abstract class SOAPConnectionFactory
extends java.lang.Object
SOAPConnection objects. Implementation of this class is
optional. If SOAPConnectionFactory.newInstance() throws an
UnsupportedOperationException then the implementation does not support the SAAJ
communication infrastructure. Otherwise SOAPConnection objects can be created by
calling createConnection() on the newly created SOAPConnectionFactory
object.| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
DEFAULT_SOAP_CONNECTION_FACTORY |
| Constructor and Description |
|---|
SOAPConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract SOAPConnection |
createConnection()
Create a new
SOAPConnection. |
static SOAPConnectionFactory |
newInstance()
Creates an instance of the default
SOAPConnectionFactory object. |
private static final java.lang.String DEFAULT_SOAP_CONNECTION_FACTORY
public static SOAPConnectionFactory newInstance() throws SOAPException, java.lang.UnsupportedOperationException
SOAPConnectionFactory object. SOAPConnectionFactory objectSOAPException - if there was an error creating the SOAPConnectionFactoryjava.lang.UnsupportedOperationException - if newInstance is not supported.public abstract SOAPConnection createConnection() throws SOAPException
SOAPConnection.SOAPConnection object.SOAPException - if there was an exception creating the SOAPConnection
object.