
public class ConnectionFactory extends Object
| Constructor and Description |
|---|
ConnectionFactory(Object cf,
javax.resource.spi.ManagedConnectionFactory mcf)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getConnectionFactory()
Get the connection factory instance.
|
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(String jndiName)
Set the jndiName.
|
void |
setPool(Pool p)
Set the pool
|
void |
setPoolConfiguration(PoolConfiguration pc)
Set the pool configuration
|
String |
toString()
String representation
|
public ConnectionFactory(Object cf, javax.resource.spi.ManagedConnectionFactory mcf)
cf - The connection factorymcf - The managed connection factory instancepublic 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 String getJndiName()
public void setJndiName(String jndiName)
jndiName - The jndiName to set.Copyright © 2013 IronJacamar (http://www.ironjacamar.org)