public class ConnectionFactory
extends java.lang.Object
| Constructor and Description |
|---|
ConnectionFactory(java.lang.Object cf,
javax.resource.spi.ManagedConnectionFactory mcf)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getConnectionFactory()
Get the connection factory instance.
|
java.lang.String |
getJndiName()
Get the jndiName.
|
ManagedConnectionFactory |
getManagedConnectionFactory()
Get the managed connection factory instance.
|
Pool |
getPool()
Get the pool instance.
|
PoolConfiguration |
getPoolConfiguration()
Get the pool configuration instance.
|
void |
setJndiName(java.lang.String jndiName)
Set the jndiName.
|
void |
setPool(Pool p)
Set the pool
|
void |
setPoolConfiguration(PoolConfiguration pc)
Set the pool configuration
|
java.lang.String |
toString()
String representation
|
public ConnectionFactory(java.lang.Object cf,
javax.resource.spi.ManagedConnectionFactory mcf)
cf - The connection factorymcf - The managed connection factory instancepublic java.lang.Object getConnectionFactory()
null if the connection factory was
undeployed and this object wasn't cleared up correctly.public ManagedConnectionFactory getManagedConnectionFactory()
null if the managed connection factory was
undeployed and this object wasn't cleared up correctly.public Pool getPool()
null if the pool was
undeployed and this object wasn't cleared up correctly.public void setPool(Pool p)
p - The poolpublic PoolConfiguration getPoolConfiguration()
null if the pool configuration was
undeployed and this object wasn't cleared up correctly.public void setPoolConfiguration(PoolConfiguration pc)
pc - The pool configurationpublic java.lang.String getJndiName()
public void setJndiName(java.lang.String jndiName)
jndiName - The jndiName to set.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 IronJacamar (http://www.ironjacamar.org)