SOAPConnectionFactory (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.soap Class SOAPConnectionFactory

java.lang.Object
  extended by javax.xml.soap.SOAPConnectionFactory

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.


构造器摘要
SOAPConnectionFactory()
           
 
方法摘要
abstract  SOAPConnection createConnection()
          Create a new SOAPConnection.
static SOAPConnectionFactory newInstance()
          Creates an instance of the default SOAPConnectionFactory object.
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造器详细信息

SOAPConnectionFactory

public SOAPConnectionFactory()
方法详细信息

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
UnsupportedOperationException - if newInstance is not supported.

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.

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.