|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.soap Class SOAPConnectionFactory
java.lang.Object javax.xml.soap.SOAPConnectionFactory
public abstract class SOAPConnectionFactory
- extends Object
创建
SOAPConnection
对象的工厂。此类的实现是可选的。如果 SOAPConnectionFactory.newInstance()
抛出 UnsupportedOperationException,则该实现不支持 SAAJ 通信基础设施。否则,可以通过在新创建的 SOAPConnectionFactory
对象上调用 createConnection()
来创建 SOAPConnection
对象。
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 |
createConnection()
Create a new SOAPConnection . |
static SOAPConnectionFactory |
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 |
---|
public
SOAPConnectionFactory()
英文文档:
SOAPConnectionFactory
public SOAPConnectionFactory()
Method Detail |
---|
public static SOAPConnectionFactory
newInstance() throws SOAPException, UnsupportedOperationException
创建默认 SOAPConnectionFactory
对象的实例。
return |
默认 SOAPConnectionFactory 对象的新实例
|
Throws | SOAPException:
如果在创建 SOAPConnectionFactory 时出现问题 |
Throws | UnsupportedOperationException: 如果不支持新实例。 |
newInstance
public static SOAPConnectionFactory newInstance() throws SOAPException, UnsupportedOperationException
- Creates an instance of the default
SOAPConnectionFactory
object. - Returns:
- a new instance of a default
SOAPConnectionFactory
object - Throws:
SOAPException
- if there was an error creating theSOAPConnectionFactory
UnsupportedOperationException
- if newInstance is not supported.
abstract public SOAPConnection
createConnection() throws SOAPException
创建新的 SOAPConnection
。
return |
新的 SOAPConnection 对象。
|
Throws | SOAPException:
如果在创建 SOAPConnection 时出现异常。 |
createConnection
public abstract SOAPConnection createConnection() throws SOAPException
- Create a new
SOAPConnection
. - Returns:
- the new
SOAPConnection
object. - Throws:
SOAPException
- if there was an exception creating theSOAPConnection
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!