
public class DataSource extends Object
| Constructor and Description |
|---|
DataSource(boolean xa)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJndiName()
Get the jndiName.
|
Pool |
getPool()
Get the pool instance.
|
PoolConfiguration |
getPoolConfiguration()
Get the pool configuration instance.
|
StatisticsPlugin |
getStatistics()
Get the statistics instance.
|
boolean |
isXA()
xa datasource
|
void |
setJndiName(String v)
Set the jndiName.
|
void |
setPool(Pool p)
Set the pool
|
void |
setPoolConfiguration(PoolConfiguration pc)
Set the pool configuration
|
void |
setStatistics(StatisticsPlugin v)
Set the statistics
|
String |
toString()
String representation
|
public DataSource(boolean xa)
xa - datasource is xa or notpublic boolean isXA()
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 v)
v - The valuepublic StatisticsPlugin getStatistics()
null if the statistics module was
undeployed and this object wasn't cleared up correctly.public void setStatistics(StatisticsPlugin v)
v - The statistics moduleCopyright © 2013 IronJacamar (http://www.ironjacamar.org)