public abstract class SAAJMetaFactory extends Object
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.
Modifier | Constructor and Description |
---|---|
protected |
SAAJMetaFactory() |
Modifier and Type | Method and Description |
---|---|
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. |
protected abstract MessageFactory newMessageFactory(String protocol) throws SOAPException
MessageFactory
object for
the given String
protocol.SOAPException
- if there is an error in creating the
MessageFactoryprotocol
- a String
indicating the protocolSOAPConstants.SOAP_1_1_PROTOCOL
,
SOAPConstants.SOAP_1_2_PROTOCOL
,
SOAPConstants.DYNAMIC_SOAP_PROTOCOL
protected abstract SOAPFactory newSOAPFactory(String protocol) throws SOAPException
SOAPFactory
object for
the given String
protocol.SOAPException
- if there is an error in creating the
SOAPFactoryprotocol
- a String
indicating the protocolSOAPConstants.SOAP_1_1_PROTOCOL
,
SOAPConstants.SOAP_1_2_PROTOCOL
,
SOAPConstants.DYNAMIC_SOAP_PROTOCOL
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2025 aicas GmbH. All Rights Reserved.