public class XaDataSource<T extends XaDataSource> extends Object
| Type | Property and Description |
|---|---|
Map |
connectionListener
Properties to be injected in class specified in connection-listener-class
|
String |
url
Specifies the property for the URL property in the xa-datasource-property values
|
| Modifier and Type | Class and Description |
|---|---|
class |
XaDataSource.XaDataSourceResources
Child mutators for XaDataSource
|
| Constructor and Description |
|---|
XaDataSource(String key) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
allocationRetry()
The allocation retry element indicates the number of times that allocating a connection should be tried before throwing an exception
|
T |
allocationRetry(Integer value)
The allocation retry element indicates the number of times that allocating a connection should be tried before throwing an exception
|
Long |
allocationRetryWaitMillis()
The allocation retry wait millis element specifies the amount of time, in milliseconds, to wait between retrying to allocate a connection
|
T |
allocationRetryWaitMillis(Long value)
The allocation retry wait millis element specifies the amount of time, in milliseconds, to wait between retrying to allocate a connection
|
Boolean |
allowMultipleUsers()
Specifies if multiple users will access the datasource through the getConnection(user, password) method and hence if the internal pool type should account for that
|
T |
allowMultipleUsers(Boolean value)
Specifies if multiple users will access the datasource through the getConnection(user, password) method and hence if the internal pool type should account for that
|
Boolean |
backgroundValidation()
An element to specify that connections should be validated on a background thread versus being validated prior to use.
|
T |
backgroundValidation(Boolean value)
An element to specify that connections should be validated on a background thread versus being validated prior to use.
|
Long |
backgroundValidationMillis()
The background-validation-millis element specifies the amount of time, in milliseconds, that background validation will run.
|
T |
backgroundValidationMillis(Long value)
The background-validation-millis element specifies the amount of time, in milliseconds, that background validation will run.
|
Long |
blockingTimeoutWaitMillis()
The blocking-timeout-millis element specifies the maximum time, in milliseconds, to block while waiting for a connection before throwing an exception.
|
T |
blockingTimeoutWaitMillis(Long value)
The blocking-timeout-millis element specifies the maximum time, in milliseconds, to block while waiting for a connection before throwing an exception.
|
String |
capacityDecrementerClass()
Class defining the policy for decrementing connections in the pool
|
T |
capacityDecrementerClass(String value)
Class defining the policy for decrementing connections in the pool
|
Map |
capacityDecrementerProperties()
Properties to inject in class defining the policy for decrementing connections in the pool
|
T |
capacityDecrementerProperties(Map value)
Properties to inject in class defining the policy for decrementing connections in the pool
|
String |
capacityIncrementerClass()
Class defining the policy for incrementing connections in the pool
|
T |
capacityIncrementerClass(String value)
Class defining the policy for incrementing connections in the pool
|
Map |
capacityIncrementerProperties()
Properties to inject in class defining the policy for incrementing connections in the pool
|
T |
capacityIncrementerProperties(Map value)
Properties to inject in class defining the policy for incrementing connections in the pool
|
String |
checkValidConnectionSql()
Specify an SQL statement to check validity of a pool connection.
|
T |
checkValidConnectionSql(String value)
Specify an SQL statement to check validity of a pool connection.
|
Boolean |
connectable()
Enable the use of CMR for this datasource.
|
T |
connectable(Boolean value)
Enable the use of CMR for this datasource.
|
String |
connectionListenerClass()
Speciefies class name extending org.jboss.jca.adapters.jdbc.spi.listener.ConnectionListener that provides a possible to listen for connection activation and passivation in order to perform actions before the connection is returned to the application or returned to the pool.
|
T |
connectionListenerClass(String value)
Speciefies class name extending org.jboss.jca.adapters.jdbc.spi.listener.ConnectionListener that provides a possible to listen for connection activation and passivation in order to perform actions before the connection is returned to the application or returned to the pool.
|
Map |
connectionListenerProperty()
Properties to be injected in class specified in connection-listener-class
|
T |
connectionListenerProperty(Map value)
Properties to be injected in class specified in connection-listener-class
|
String |
driverName()
Defines the JDBC driver the datasource should use.
|
T |
driverName(String value)
Defines the JDBC driver the datasource should use.
|
Boolean |
enabled()
Specifies if the datasource should be enabled.
|
T |
enabled(Boolean value)
Specifies if the datasource should be enabled.
|
Boolean |
enlistmentTrace()
Defines if WildFly/IronJacamar should record enlistment traces
|
T |
enlistmentTrace(Boolean value)
Defines if WildFly/IronJacamar should record enlistment traces
|
String |
exceptionSorterClassName()
An org.jboss.jca.adapters.jdbc.ExceptionSorter that provides an isExceptionFatal(SQLException) method to validate if an exception should broadcast an error
|
T |
exceptionSorterClassName(String value)
An org.jboss.jca.adapters.jdbc.ExceptionSorter that provides an isExceptionFatal(SQLException) method to validate if an exception should broadcast an error
|
Map |
exceptionSorterProperties()
The exception sorter properties
|
T |
exceptionSorterProperties(Map value)
The exception sorter properties
|
String |
flushStrategy()
Specifies how the pool should be flush in case of an error.
|
T |
flushStrategy(String value)
Specifies how the pool should be flush in case of an error.
|
String |
getKey() |
Long |
idleTimeoutMinutes()
The idle-timeout-minutes elements specifies the maximum time, in minutes, a connection may be idle before being closed.
|
T |
idleTimeoutMinutes(Long value)
The idle-timeout-minutes elements specifies the maximum time, in minutes, a connection may be idle before being closed.
|
Integer |
initialPoolSize()
The initial-pool-size element indicates the initial number of connections a pool should hold.
|
T |
initialPoolSize(Integer value)
The initial-pool-size element indicates the initial number of connections a pool should hold.
|
Boolean |
interleaving()
An element to enable interleaving for XA connections
|
T |
interleaving(Boolean value)
An element to enable interleaving for XA connections
|
String |
jndiName()
Specifies the JNDI name for the datasource
|
T |
jndiName(String value)
Specifies the JNDI name for the datasource
|
Integer |
maxPoolSize()
The max-pool-size element specifies the maximum number of connections for a pool.
|
T |
maxPoolSize(Integer value)
The max-pool-size element specifies the maximum number of connections for a pool.
|
String |
mcp()
Defines the ManagedConnectionPool implementation, f.ex.
|
T |
mcp(String value)
Defines the ManagedConnectionPool implementation, f.ex.
|
Integer |
minPoolSize()
The min-pool-size element specifies the minimum number of connections for a pool
|
T |
minPoolSize(Integer value)
The min-pool-size element specifies the minimum number of connections for a pool
|
String |
newConnectionSql()
Specifies an SQL statement to execute whenever a connection is added to the connection pool
|
T |
newConnectionSql(String value)
Specifies an SQL statement to execute whenever a connection is added to the connection pool
|
Boolean |
noRecovery()
Specifies if the connection pool should be excluded from recovery
|
T |
noRecovery(Boolean value)
Specifies if the connection pool should be excluded from recovery
|
Boolean |
noTxSeparatePool()
Oracle does not like XA connections getting used both inside and outside a JTA transaction.
|
T |
noTxSeparatePool(Boolean value)
Oracle does not like XA connections getting used both inside and outside a JTA transaction.
|
Boolean |
padXid()
Should the Xid be padded
|
T |
padXid(Boolean value)
Should the Xid be padded
|
String |
password()
Specifies the password used when creating a new connection
|
T |
password(String value)
Specifies the password used when creating a new connection
|
Boolean |
poolPrefill()
Should the pool be prefilled.
|
T |
poolPrefill(Boolean value)
Should the pool be prefilled.
|
Boolean |
poolUseStrictMin()
Specifies if the min-pool-size should be considered strictly
|
T |
poolUseStrictMin(Boolean value)
Specifies if the min-pool-size should be considered strictly
|
Long |
preparedStatementsCacheSize()
The number of prepared statements per connection in an LRU cache
|
T |
preparedStatementsCacheSize(Long value)
The number of prepared statements per connection in an LRU cache
|
Long |
queryTimeout()
Any configured query timeout in seconds.
|
T |
queryTimeout(Long value)
Any configured query timeout in seconds.
|
String |
reauthPluginClassName()
The fully qualified class name of the reauthentication plugin implementation
|
T |
reauthPluginClassName(String value)
The fully qualified class name of the reauthentication plugin implementation
|
Map |
reauthPluginProperties()
The properties for the reauthentication plugin
|
T |
reauthPluginProperties(Map value)
The properties for the reauthentication plugin
|
String |
recoveryPassword()
The password used for recovery
|
T |
recoveryPassword(String value)
The password used for recovery
|
String |
recoveryPluginClassName()
The fully qualified class name of the recovery plugin implementation
|
T |
recoveryPluginClassName(String value)
The fully qualified class name of the recovery plugin implementation
|
Map |
recoveryPluginProperties()
The properties for the recovery plugin
|
T |
recoveryPluginProperties(Map value)
The properties for the recovery plugin
|
String |
recoverySecurityDomain()
The security domain used for recovery
|
T |
recoverySecurityDomain(String value)
The security domain used for recovery
|
String |
recoveryUsername()
The user name used for recovery
|
T |
recoveryUsername(String value)
The user name used for recovery
|
Boolean |
sameRmOverride()
The is-same-rm-override element allows one to unconditionally set whether the javax.transaction.xa.XAResource.isSameRM(XAResource) returns true or false
|
T |
sameRmOverride(Boolean value)
The is-same-rm-override element allows one to unconditionally set whether the javax.transaction.xa.XAResource.isSameRM(XAResource) returns true or false
|
String |
securityDomain()
Specifies the security domain which defines the javax.security.auth.Subject that are used to distinguish connections in the pool
|
T |
securityDomain(String value)
Specifies the security domain which defines the javax.security.auth.Subject that are used to distinguish connections in the pool
|
Boolean |
setTxQueryTimeout()
Whether to set the query timeout based on the time remaining until transaction timeout.
|
T |
setTxQueryTimeout(Boolean value)
Whether to set the query timeout based on the time remaining until transaction timeout.
|
Boolean |
sharePreparedStatements()
Whether to share prepared statements, i.e.
|
T |
sharePreparedStatements(Boolean value)
Whether to share prepared statements, i.e.
|
Boolean |
spy()
Enable spying of SQL statements
|
T |
spy(Boolean value)
Enable spying of SQL statements
|
String |
staleConnectionCheckerClassName()
An org.jboss.jca.adapters.jdbc.StaleConnectionChecker that provides an isStaleConnection(SQLException) method which if it returns true will wrap the exception in an org.jboss.jca.adapters.jdbc.StaleConnectionException
|
T |
staleConnectionCheckerClassName(String value)
An org.jboss.jca.adapters.jdbc.StaleConnectionChecker that provides an isStaleConnection(SQLException) method which if it returns true will wrap the exception in an org.jboss.jca.adapters.jdbc.StaleConnectionException
|
Map |
staleConnectionCheckerProperties()
The stale connection checker properties
|
T |
staleConnectionCheckerProperties(Map value)
The stale connection checker properties
|
Boolean |
statisticsEnabled()
define if runtime statistics is enabled or not
|
T |
statisticsEnabled(Boolean value)
define if runtime statistics is enabled or not
|
XaDataSource.XaDataSourceResources |
subresources() |
Boolean |
tracking()
Defines if IronJacamar should track connection handles across transaction boundaries
|
T |
tracking(Boolean value)
Defines if IronJacamar should track connection handles across transaction boundaries
|
String |
trackStatements()
Whether to check for unclosed statements when a connection is returned to the pool, result sets are closed, a statement is closed or return to the prepared statement cache.
|
T |
trackStatements(String value)
Whether to check for unclosed statements when a connection is returned to the pool, result sets are closed, a statement is closed or return to the prepared statement cache.
|
String |
transactionIsolation()
Set the java.sql.Connection transaction isolation level.
|
T |
transactionIsolation(String value)
Set the java.sql.Connection transaction isolation level.
|
String |
urlDelimiter()
Specifies the delimiter for URLs in connection-url for HA datasources
|
T |
urlDelimiter(String value)
Specifies the delimiter for URLs in connection-url for HA datasources
|
String |
urlProperty()
Specifies the property for the URL property in the xa-datasource-property values
|
T |
urlProperty(String value)
Specifies the property for the URL property in the xa-datasource-property values
|
String |
urlSelectorStrategyClassName()
A class that implements org.jboss.jca.adapters.jdbc.URLSelectorStrategy
|
T |
urlSelectorStrategyClassName(String value)
A class that implements org.jboss.jca.adapters.jdbc.URLSelectorStrategy
|
Boolean |
useCcm()
Enable the use of a cached connection manager
|
T |
useCcm(Boolean value)
Enable the use of a cached connection manager
|
Boolean |
useFastFail()
Whether to fail a connection allocation on the first try if it is invalid (true) or keep trying until the pool is exhausted of all potential connections (false)
|
T |
useFastFail(Boolean value)
Whether to fail a connection allocation on the first try if it is invalid (true) or keep trying until the pool is exhausted of all potential connections (false)
|
Boolean |
useJavaContext()
Setting this to false will bind the datasource into global JNDI
|
T |
useJavaContext(Boolean value)
Setting this to false will bind the datasource into global JNDI
|
String |
userName()
Specify the user name used when creating a new connection
|
T |
userName(String value)
Specify the user name used when creating a new connection
|
Long |
useTryLock()
Any configured timeout for internal locks on the resource adapter objects in seconds
|
T |
useTryLock(Long value)
Any configured timeout for internal locks on the resource adapter objects in seconds
|
Boolean |
validateOnMatch()
The validate-on-match element specifies if connection validation should be done when a connection factory attempts to match a managed connection.
|
T |
validateOnMatch(Boolean value)
The validate-on-match element specifies if connection validation should be done when a connection factory attempts to match a managed connection.
|
String |
validConnectionCheckerClassName()
An org.jboss.jca.adapters.jdbc.ValidConnectionChecker that provides an isValidConnection(Connection) method to validate a connection.
|
T |
validConnectionCheckerClassName(String value)
An org.jboss.jca.adapters.jdbc.ValidConnectionChecker that provides an isValidConnection(Connection) method to validate a connection.
|
Map |
validConnectionCheckerProperties()
The valid connection checker properties
|
T |
validConnectionCheckerProperties(Map value)
The valid connection checker properties
|
Boolean |
wrapXaResource()
Should the XAResource instances be wrapped in an org.jboss.tm.XAResourceWrapper instance
|
T |
wrapXaResource(Boolean value)
Should the XAResource instances be wrapped in an org.jboss.tm.XAResourceWrapper instance
|
String |
xaDatasourceClass()
The fully qualified name of the javax.sql.XADataSource implementation
|
T |
xaDatasourceClass(String value)
The fully qualified name of the javax.sql.XADataSource implementation
|
T |
xaDatasourceProperties(List<XaDatasourceProperties> value)
Add all XaDatasourceProperties objects to this subresource
|
T |
xaDatasourceProperties(XaDatasourceProperties value)
Add the XaDatasourceProperties object to the list of subresources
|
Integer |
xaResourceTimeout()
The value is passed to XAResource.setTransactionTimeout(), in seconds.
|
T |
xaResourceTimeout(Integer value)
The value is passed to XAResource.setTransactionTimeout(), in seconds.
|
public Map connectionListenerProperty
public String urlProperty
public XaDataSource(String key)
public String getKey()
public Integer allocationRetry()
public T allocationRetry(Integer value)
public Long allocationRetryWaitMillis()
public T allocationRetryWaitMillis(Long value)
public Boolean allowMultipleUsers()
public T allowMultipleUsers(Boolean value)
public Boolean backgroundValidation()
public T backgroundValidation(Boolean value)
public Long backgroundValidationMillis()
public T backgroundValidationMillis(Long value)
public Long blockingTimeoutWaitMillis()
public T blockingTimeoutWaitMillis(Long value)
public String capacityDecrementerClass()
public T capacityDecrementerClass(String value)
public Map capacityDecrementerProperties()
public T capacityDecrementerProperties(Map value)
public String capacityIncrementerClass()
public T capacityIncrementerClass(String value)
public Map capacityIncrementerProperties()
public T capacityIncrementerProperties(Map value)
public String checkValidConnectionSql()
public T checkValidConnectionSql(String value)
public Boolean connectable()
public T connectable(Boolean value)
public String connectionListenerClass()
public T connectionListenerClass(String value)
public Map connectionListenerProperty()
public T connectionListenerProperty(Map value)
public String driverName()
public T driverName(String value)
public Boolean enabled()
public T enabled(Boolean value)
public Boolean enlistmentTrace()
public T enlistmentTrace(Boolean value)
public String exceptionSorterClassName()
public T exceptionSorterClassName(String value)
public Map exceptionSorterProperties()
public T exceptionSorterProperties(Map value)
public String flushStrategy()
public T flushStrategy(String value)
public Long idleTimeoutMinutes()
public T idleTimeoutMinutes(Long value)
public Integer initialPoolSize()
public T initialPoolSize(Integer value)
public Boolean interleaving()
public T interleaving(Boolean value)
public String jndiName()
public Integer maxPoolSize()
public T maxPoolSize(Integer value)
public String mcp()
public T mcp(String value)
public Integer minPoolSize()
public T minPoolSize(Integer value)
public String newConnectionSql()
public T newConnectionSql(String value)
public Boolean noRecovery()
public T noRecovery(Boolean value)
public Boolean noTxSeparatePool()
public T noTxSeparatePool(Boolean value)
public Boolean padXid()
public String password()
public Boolean poolPrefill()
public T poolPrefill(Boolean value)
public Boolean poolUseStrictMin()
public T poolUseStrictMin(Boolean value)
public Long preparedStatementsCacheSize()
public T preparedStatementsCacheSize(Long value)
public Long queryTimeout()
public T queryTimeout(Long value)
public String reauthPluginClassName()
public T reauthPluginClassName(String value)
public Map reauthPluginProperties()
public T reauthPluginProperties(Map value)
public String recoveryPassword()
public String recoveryPluginClassName()
public T recoveryPluginClassName(String value)
public Map recoveryPluginProperties()
public T recoveryPluginProperties(Map value)
public String recoverySecurityDomain()
public T recoverySecurityDomain(String value)
public String recoveryUsername()
public Boolean sameRmOverride()
public T sameRmOverride(Boolean value)
public String securityDomain()
public T securityDomain(String value)
public Boolean setTxQueryTimeout()
public T setTxQueryTimeout(Boolean value)
public Boolean sharePreparedStatements()
public T sharePreparedStatements(Boolean value)
public Boolean spy()
public String staleConnectionCheckerClassName()
public T staleConnectionCheckerClassName(String value)
public Map staleConnectionCheckerProperties()
public T staleConnectionCheckerProperties(Map value)
public Boolean statisticsEnabled()
public T statisticsEnabled(Boolean value)
public String trackStatements()
public T trackStatements(String value)
public Boolean tracking()
public T tracking(Boolean value)
public String transactionIsolation()
public T transactionIsolation(String value)
public String urlDelimiter()
public T urlDelimiter(String value)
public String urlProperty()
public T urlProperty(String value)
public String urlSelectorStrategyClassName()
public T urlSelectorStrategyClassName(String value)
public Boolean useCcm()
public Boolean useFastFail()
public T useFastFail(Boolean value)
public Boolean useJavaContext()
public T useJavaContext(Boolean value)
public Long useTryLock()
public T useTryLock(Long value)
public String userName()
public String validConnectionCheckerClassName()
public T validConnectionCheckerClassName(String value)
public Map validConnectionCheckerProperties()
public T validConnectionCheckerProperties(Map value)
public Boolean validateOnMatch()
public T validateOnMatch(Boolean value)
public Boolean wrapXaResource()
public T wrapXaResource(Boolean value)
public String xaDatasourceClass()
public T xaDatasourceClass(String value)
public Integer xaResourceTimeout()
public T xaResourceTimeout(Integer value)
public XaDataSource.XaDataSourceResources subresources()
public T xaDatasourceProperties(List<XaDatasourceProperties> value)
value - List of XaDatasourceProperties objects.public T xaDatasourceProperties(XaDatasourceProperties value)
value - The XaDatasourceProperties to addCopyright © 2015 JBoss by Red Hat. All rights reserved.