| Package | Description |
|---|---|
| org.wildfly.swarm.config | |
| org.wildfly.swarm.config.datasources |
| Modifier and Type | Method and Description |
|---|---|
List<XaDataSource> |
Datasources.DatasourcesResources.xaDataSources()
Get the list of org.wildfly.swarm.config.datasources.XaDataSource resources
|
| Modifier and Type | Method and Description |
|---|---|
T |
Datasources.xaDataSource(XaDataSource value)
Add the org.wildfly.swarm.config.datasources.XaDataSource object to the list of subresources
|
| Modifier and Type | Method and Description |
|---|---|
T |
Datasources.xaDataSources(List<XaDataSource> value)
Add all org.wildfly.swarm.config.datasources.XaDataSource objects to this subresource
|
| Modifier and Type | Method and Description |
|---|---|
XaDataSource |
XaDataSource.allocationRetry(Integer value)
The allocation retry element indicates the number of times that allocating a connection should be tried before throwing an exception
|
XaDataSource |
XaDataSource.allocationRetryWaitMillis(Long value)
The allocation retry wait millis element specifies the amount of time, in milliseconds, to wait between retrying to allocate a connection
|
XaDataSource |
XaDataSource.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
|
XaDataSource |
XaDataSource.backgroundValidation(Boolean value)
An element to specify that connections should be validated on a background thread versus being validated prior to use.
|
XaDataSource |
XaDataSource.backgroundValidationMillis(Long value)
The background-validation-millis element specifies the amount of time, in milliseconds, that background validation will run.
|
XaDataSource |
XaDataSource.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.
|
XaDataSource |
XaDataSource.capacityDecrementerClass(String value)
Class defining the policy for decrementing connections in the pool
|
XaDataSource |
XaDataSource.capacityDecrementerProperties(Map value)
Properties to inject in class defining the policy for decrementing connections in the pool
|
XaDataSource |
XaDataSource.capacityIncrementerClass(String value)
Class defining the policy for incrementing connections in the pool
|
XaDataSource |
XaDataSource.capacityIncrementerProperties(Map value)
Properties to inject in class defining the policy for incrementing connections in the pool
|
XaDataSource |
XaDataSource.checkValidConnectionSql(String value)
Specify an SQL statement to check validity of a pool connection.
|
XaDataSource |
XaDataSource.connectable(Boolean value)
Enable the use of CMR for this datasource.
|
XaDataSource |
XaDataSource.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.
|
XaDataSource |
XaDataSource.connectionListenerProperty(Map value)
Properties to be injected in class specified in connection-listener-class
|
XaDataSource |
XaDataSource.driverName(String value)
Defines the JDBC driver the datasource should use.
|
XaDataSource |
XaDataSource.enlistmentTrace(Boolean value)
Defines if WildFly/IronJacamar should record enlistment traces
|
XaDataSource |
XaDataSource.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
|
XaDataSource |
XaDataSource.exceptionSorterProperties(Map value)
The exception sorter properties
|
XaDataSource |
XaDataSource.flushStrategy(String value)
Specifies how the pool should be flush in case of an error.
|
XaDataSource |
XaDataSource.idleTimeoutMinutes(Long value)
The idle-timeout-minutes elements specifies the maximum time, in minutes, a connection may be idle before being closed.
|
XaDataSource |
XaDataSource.initialPoolSize(Integer value)
The initial-pool-size element indicates the initial number of connections a pool should hold.
|
XaDataSource |
XaDataSource.interleaving(Boolean value)
An element to enable interleaving for XA connections
|
XaDataSource |
XaDataSource.jndiName(String value)
Specifies the JNDI name for the datasource
|
XaDataSource |
XaDataSource.maxPoolSize(Integer value)
The max-pool-size element specifies the maximum number of connections for a pool.
|
XaDataSource |
XaDataSource.mcp(String value)
Defines the ManagedConnectionPool implementation, f.ex.
|
XaDataSource |
XaDataSource.minPoolSize(Integer value)
The min-pool-size element specifies the minimum number of connections for a pool
|
XaDataSource |
XaDataSource.newConnectionSql(String value)
Specifies an SQL statement to execute whenever a connection is added to the connection pool
|
XaDataSource |
XaDataSource.noRecovery(Boolean value)
Specifies if the connection pool should be excluded from recovery
|
XaDataSource |
XaDataSource.noTxSeparatePool(Boolean value)
Oracle does not like XA connections getting used both inside and outside a JTA transaction.
|
XaDataSource |
XaDataSource.padXid(Boolean value)
Should the Xid be padded
|
XaDataSource |
XaDataSource.password(String value)
Specifies the password used when creating a new connection
|
XaDataSource |
XaDataSource.poolPrefill(Boolean value)
Should the pool be prefilled.
|
XaDataSource |
XaDataSource.poolUseStrictMin(Boolean value)
Specifies if the min-pool-size should be considered strictly
|
XaDataSource |
XaDataSource.preparedStatementsCacheSize(Long value)
The number of prepared statements per connection in an LRU cache
|
XaDataSource |
XaDataSource.queryTimeout(Long value)
Any configured query timeout in seconds.
|
XaDataSource |
XaDataSource.reauthPluginClassName(String value)
The fully qualified class name of the reauthentication plugin implementation
|
XaDataSource |
XaDataSource.reauthPluginProperties(Map value)
The properties for the reauthentication plugin
|
XaDataSource |
XaDataSource.recoveryPassword(String value)
The password used for recovery
|
XaDataSource |
XaDataSource.recoveryPluginClassName(String value)
The fully qualified class name of the recovery plugin implementation
|
XaDataSource |
XaDataSource.recoveryPluginProperties(Map value)
The properties for the recovery plugin
|
XaDataSource |
XaDataSource.recoverySecurityDomain(String value)
The security domain used for recovery
|
XaDataSource |
XaDataSource.recoveryUsername(String value)
The user name used for recovery
|
XaDataSource |
XaDataSource.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
|
XaDataSource |
XaDataSource.securityDomain(String value)
Specifies the security domain which defines the javax.security.auth.Subject that are used to distinguish connections in the pool
|
XaDataSource |
XaDataSource.setTxQueryTimeout(Boolean value)
Whether to set the query timeout based on the time remaining until transaction timeout.
|
XaDataSource |
XaDataSource.sharePreparedStatements(Boolean value)
Whether to share prepared statements, i.e.
|
XaDataSource |
XaDataSource.spy(Boolean value)
Enable spying of SQL statements
|
XaDataSource |
XaDataSource.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
|
XaDataSource |
XaDataSource.staleConnectionCheckerProperties(Map value)
The stale connection checker properties
|
XaDataSource |
XaDataSource.statisticsEnabled(Boolean value)
define if runtime statistics is enabled or not
|
XaDataSource |
XaDataSource.tracking(Boolean value)
Defines if IronJacamar should track connection handles across transaction boundaries
|
XaDataSource |
XaDataSource.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.
|
XaDataSource |
XaDataSource.transactionIsolation(String value)
Set the java.sql.Connection transaction isolation level.
|
XaDataSource |
XaDataSource.urlDelimiter(String value)
Specifies the delimiter for URLs in connection-url for HA datasources
|
XaDataSource |
XaDataSource.urlProperty(String value)
Specifies the property for the URL property in the xa-datasource-property values
|
XaDataSource |
XaDataSource.urlSelectorStrategyClassName(String value)
A class that implements org.jboss.jca.adapters.jdbc.URLSelectorStrategy
|
XaDataSource |
XaDataSource.useCcm(Boolean value)
Enable the use of a cached connection manager
|
XaDataSource |
XaDataSource.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)
|
XaDataSource |
XaDataSource.useJavaContext(Boolean value)
Setting this to false will bind the datasource into global JNDI
|
XaDataSource |
XaDataSource.userName(String value)
Specify the user name used when creating a new connection
|
XaDataSource |
XaDataSource.useTryLock(Long value)
Any configured timeout for internal locks on the resource adapter objects in seconds
|
XaDataSource |
XaDataSource.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.
|
XaDataSource |
XaDataSource.validConnectionCheckerClassName(String value)
An org.jboss.jca.adapters.jdbc.ValidConnectionChecker that provides an isValidConnection(Connection) method to validate a connection.
|
XaDataSource |
XaDataSource.validConnectionCheckerProperties(Map value)
The valid connection checker properties
|
XaDataSource |
XaDataSource.wrapXaResource(Boolean value)
Should the XAResource instances be wrapped in an org.jboss.tm.XAResourceWrapper instance
|
XaDataSource |
XaDataSource.xaDatasourceClass(String value)
The fully qualified name of the javax.sql.XADataSource implementation
|
XaDataSource |
XaDataSource.xaDatasourceProperties(List<XaDatasourceProperties> value)
Add all org.wildfly.swarm.config.datasources.xa_data_source.XaDatasourceProperties objects to this subresource
|
XaDataSource |
XaDataSource.xaDatasourceProperties(XaDatasourceProperties value)
Add the org.wildfly.swarm.config.datasources.xa_data_source.XaDatasourceProperties object to the list of subresources
|
XaDataSource |
XaDataSource.xaResourceTimeout(Integer value)
The value is passed to XAResource.setTransactionTimeout(), in seconds.
|
Copyright © 2015 JBoss by Red Hat. All rights reserved.