public class DataSource extends Object implements ManagedEnlistmentTrace
Constructor and Description |
---|
DataSource(boolean xa)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getEnlistmentTrace()
Get the enlistmentTrace instance.
|
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 |
setEnlistmentTrace(Boolean enlistmentTrace)
Set the enlistmentTrace
|
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 modulepublic Boolean getEnlistmentTrace()
null
if the enlistmentTrace module was
undeployed and this object wasn't cleared up correctly.getEnlistmentTrace
in interface ManagedEnlistmentTrace
public void setEnlistmentTrace(Boolean enlistmentTrace)
enlistmentTrace
- The enlistmentTrace moduleCopyright © 2021 JBoss by Red Hat. All rights reserved.