Package org.apache.xmlbeans.impl.soap
Class SOAPConnectionFactory
java.lang.Object
org.apache.xmlbeans.impl.soap.SOAPConnectionFactory
public abstract class SOAPConnectionFactory extends Object
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 SummaryConstructors Constructor Description SOAPConnectionFactory()
- 
Method SummaryModifier and Type Method Description abstract SOAPConnectioncreateConnection()Create a newSOAPConnection.static SOAPConnectionFactorynewInstance()Creates an instance of the defaultSOAPConnectionFactoryobject.
- 
Constructor Details- 
SOAPConnectionFactorypublic SOAPConnectionFactory()
 
- 
- 
Method Details- 
newInstancepublic static SOAPConnectionFactory newInstance() throws SOAPException, UnsupportedOperationExceptionCreates an instance of the defaultSOAPConnectionFactoryobject.- Returns:
- a new instance of a default SOAPConnectionFactoryobject
- Throws:
- SOAPException- if there was an error creating the- SOAPConnectionFactory
- UnsupportedOperationException- if newInstance is not supported.
 
- 
createConnectionCreate a newSOAPConnection.- Returns:
- the new SOAPConnectionobject.
- Throws:
- SOAPException- if there was an exception creating the- SOAPConnectionobject.
 
 
-