public class DataSource
extends java.lang.Object
Constructor and Description |
---|
DataSource(boolean xa)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.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(java.lang.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
|
java.lang.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 java.lang.String getJndiName()
public void setJndiName(java.lang.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 modulepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)