public abstract class ConnectionFactory extends Object
| Constructor and Description |
|---|
ConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract Connection |
createConnection() |
abstract FederatedConnection |
createFederatedConnection(Collection connections) |
abstract Properties |
getProperties() |
static ConnectionFactory |
newInstance() |
abstract void |
setProperties(Properties factoryProps)
Sets the Properties used during createConnection and
createFederatedConnection calls.
|
public static ConnectionFactory newInstance() throws JAXRException
JAXRExceptionpublic abstract Connection createConnection() throws JAXRException
JAXRExceptionpublic abstract FederatedConnection createFederatedConnection(Collection connections) throws JAXRException
JAXRExceptionpublic abstract Properties getProperties() throws JAXRException
JAXRExceptionpublic abstract void setProperties(Properties factoryProps) throws JAXRException
factoryProps - JAXRExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.