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
JAXRException
public abstract Connection createConnection() throws JAXRException
JAXRException
public abstract FederatedConnection createFederatedConnection(Collection connections) throws JAXRException
JAXRException
public abstract Properties getProperties() throws JAXRException
JAXRException
public abstract void setProperties(Properties factoryProps) throws JAXRException
factoryProps
- JAXRException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.