public abstract class SOAPConnectionFactory extends Object
A factory for creating 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.
public SOAPConnectionFactory()
public static SOAPConnectionFactory newInstance()
throws SOAPException,
UnsupportedOperationException Creates an instance of the default SOAPConnectionFactory object.
SOAPConnectionFactory objectSOAPException - if there was an error creating the SOAPConnectionFactory
UnsupportedOperationException - if newInstance is not supported.public abstract SOAPConnection createConnection()
throws SOAPException Create a new SOAPConnection.
SOAPConnection object.SOAPException - if there was an exception creating the SOAPConnection object.
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.