javax.xml.soap
Class SOAPConnectionFactory

java.lang.Object
  extended byjavax.xml.soap.SOAPConnectionFactory
Direct Known Subclasses:
SOAPConnectionFactoryImpl (src) , SOAPConnectionFactoryImpl (src)

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.


Constructor Summary
SOAPConnectionFactory()
           
 
Method Summary
abstract  SOAPConnection (src) createConnection()
           
static SOAPConnectionFactory (src) newInstance()
          Creates an instance of the default SOAPConnectionFactory object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPConnectionFactory

public SOAPConnectionFactory()
Method Detail

newInstance

public static SOAPConnectionFactory (src)  newInstance()
                                         throws SOAPException (src) ,
                                                java.lang.UnsupportedOperationException
Creates an instance of the default SOAPConnectionFactory object.

Returns:
Throws:
SOAPException (src)
java.lang.UnsupportedOperationException

createConnection

public abstract SOAPConnection (src)  createConnection()
                                         throws SOAPException (src) 
Throws:
SOAPException (src)