javax.xml.soap
Class SOAPConnectionFactory
java.lang.Objectjavax.xml.soap.SOAPConnectionFactory
public abstract class SOAPConnectionFactory
extends java.lang.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.
SOAPConnectionFactory
public SOAPConnectionFactory()
createConnection
public abstract SOAPConnection createConnection()
throws SOAPException Create a new SOAPConnection.
- the new
SOAPConnection object.
SOAPException - if there was an exception
creating the SOAPConnection object.
newInstance
public static SOAPConnectionFactory newInstance()
throws SOAPException,
UnsupportedOperationException Creates an instance of the default
SOAPConnectionFactory object.
- a new instance of a default
SOAPConnectionFactory object
SOAPException - if there was an error creating
the SOAPConnectionFactory
Copyright © 2005 Apache Web Services Project. All Rights Reserved.