public abstract class SAAJMetaFactory extends Object
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.
protected SAAJMetaFactory()
protected abstract MessageFactory newMessageFactory(String protocol) throws SOAPException
Creates a MessageFactory
object for the given String
protocol.
protocol
- a String
indicating the protocolSOAPException
- if there is an error in creating the MessageFactorySOAPConstants.SOAP_1_1_PROTOCOL
, SOAPConstants.SOAP_1_2_PROTOCOL
, SOAPConstants.DYNAMIC_SOAP_PROTOCOL
protected abstract SOAPFactory newSOAPFactory(String protocol) throws SOAPException
Creates a SOAPFactory
object for the given String
protocol.
protocol
- a String
indicating the protocolSOAPException
- if there is an error in creating the SOAPFactorySOAPConstants.SOAP_1_1_PROTOCOL
, SOAPConstants.SOAP_1_2_PROTOCOL
, SOAPConstants.DYNAMIC_SOAP_PROTOCOL
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.