|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.soap Class SAAJMetaFactory
java.lang.Object javax.xml.soap.SAAJMetaFactory
public abstract class SAAJMetaFactory
- extends Object
SAAJ API 中定义的工厂实现类的访问点。SAAJ 1.3 中的工厂上定义的所有
newInstance
方法都要此类实例来创建实际对象。当 SAAJ 1.2 定义的查询无法定位 Factory 实现类名称时,存在于 SAAJ 1.2 中的 newInstance()
方法(SOAPFactory 和 MessageFactory 中)的实现被更新为(并委派给)SAAJMetaFactory。
SAAJMetaFactory 是一个服务提供者接口。在此类上没有 public 方法。
since | SAAJ 1.3 |
The access point for the implementation classes of the factories defined in the
SAAJ API. All of the newInstance
methods defined on factories in
SAAJ 1.3 defer to instances of this class to do the actual object creation.
The implementations of newInstance()
methods (in SOAPFactory and MessageFactory)
that existed in SAAJ 1.2 have been updated to also delegate to the SAAJMetaFactory when the SAAJ 1.2
defined lookup fails to locate the Factory implementation class name.
SAAJMetaFactory is a service provider interface. There are no public methods on this class.
- Since:
- SAAJ 1.3
- Author:
- SAAJ RI Development Team
Constructor Summary | |
---|---|
protected |
SAAJMetaFactory()
|
Method Summary | |
---|---|
protected abstract MessageFactory |
newMessageFactory(String protocol)
Creates a MessageFactory object for
the given String protocol. |
protected abstract SOAPFactory |
newSOAPFactory(String protocol)
Creates a SOAPFactory object for
the given String protocol. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected
SAAJMetaFactory()
英文文档:
SAAJMetaFactory
protected SAAJMetaFactory()
Method Detail |
---|
abstract protected MessageFactory
newMessageFactory(String protocol) throws SOAPException
创建给定 String
协议的 MessageFactory
对象。
protocol |
指示该协议的 String |
Throws | SOAPException: 如果在创建 MessageFactory 时出现错误 |
See also | SOAP_1_1_PROTOCOL, SOAP_1_2_PROTOCOL, DYNAMIC_SOAP_PROTOCOL |
newMessageFactory
protected abstract MessageFactory newMessageFactory(String protocol) throws SOAPException
- Creates a
MessageFactory
object for the givenString
protocol. - Parameters:
protocol
- aString
indicating the protocol- Throws:
SOAPException
- if there is an error in creating the MessageFactory- See Also:
SOAPConstants.SOAP_1_1_PROTOCOL
,SOAPConstants.SOAP_1_2_PROTOCOL
,SOAPConstants.DYNAMIC_SOAP_PROTOCOL
abstract protected SOAPFactory
newSOAPFactory(String protocol) throws SOAPException
创建给定 String
协议的 SOAPFactory
对象。
protocol |
指示该协议的 String |
Throws | SOAPException: 如果在创建 SOAPFactory 时出现错误 |
See also | SOAP_1_1_PROTOCOL, SOAP_1_2_PROTOCOL, DYNAMIC_SOAP_PROTOCOL |
newSOAPFactory
protected abstract SOAPFactory newSOAPFactory(String protocol) throws SOAPException
- Creates a
SOAPFactory
object for the givenString
protocol. - Parameters:
protocol
- aString
indicating the protocol- Throws:
SOAPException
- if there is an error in creating the SOAPFactory- See Also:
SOAPConstants.SOAP_1_1_PROTOCOL
,SOAPConstants.SOAP_1_2_PROTOCOL
,SOAPConstants.DYNAMIC_SOAP_PROTOCOL
|
|||||||||
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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!