javax.xml.soap
Class SAAJMetaFactory
- java.lang.Object
-
- javax.xml.soap.SAAJMetaFactory
-
public abstract class SAAJMetaFactory extends Object
The access point for the implementation classes of the factories defined in the SAAJ API. All of thenewInstance
methods defined on factories in SAAJ 1.3 defer to instances of this class to do the actual object creation. The implementations ofnewInstance()
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
-
-
Constructor Summary
Constructors Modifier Constructor and Description protected
SAAJMetaFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description protected abstract MessageFactory
newMessageFactory(String protocol)
Creates aMessageFactory
object for the givenString
protocol.protected abstract SOAPFactory
newSOAPFactory(String protocol)
Creates aSOAPFactory
object for the givenString
protocol.
-
-
-
Method Detail
newMessageFactory
protected abstract MessageFactory newMessageFactory(String protocol) throws SOAPException
Creates aMessageFactory
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
newSOAPFactory
protected abstract SOAPFactory newSOAPFactory(String protocol) throws SOAPException
Creates aSOAPFactory
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
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.