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