Previous section   Next section
SOAPConnectionFactory javax.xml.soap

SAAJ 1.1; JWSDP 1.0, J2EE 1.4
public abstract class SOAPConnectionFactory {
// Public Constructors
    public SOAPConnectionFactory(  ); 
// Public Class Methods
    public static SOAPConnectionFactory newInstance()
        throws SOAPExceptionUnsupportedOperationException; 
// Public Instance Methods
    public abstract SOAPConnection createConnection(  ) throws SOAPException;
}

SOAPConnectionFactory is a factory object used to create SOAPConnections. To obtain an instance of this class, which is abstract, use the static newInstance( ) method, which uses the following algorithm to locate a suitable concrete implementation:

Once you have a SOAPConnectionFactory, you can use its createConnection( ) method to obtain any number of SOAPConnection objects.

Returned By

SOAPConnectionFactory.newInstance( )


  Previous section   Next section