This factory can be used if the JDBCConnectionProvider should not be
a public service, for example to protect a username/password.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | CONNECTION_LIFETIME
The property used to set the maximum amount of time that connections in the pool should remain open |
| public static final String | CONNECTION_POOLING_ENABLED
The property used to determine whether connection pooling is enabled for this resource provider |
| public static final String | CONNECTION_TIMEOUT
The property used to set the maximum amount of time that the pool should wait for a connection |
| public static final String | IDLE_TIMEOUT
The property used to set the maximum amount of time that connections in the pool should remain idle before being closed |
| public static final String | LOCAL_ENLISTMENT_ENABLED
The property used to determine whether local enlistment is enabled for this resource provider |
| public static final String | MAX_CONNECTIONS
The property used to set the maximum number of connections that should be held in the pool |
| public static final String | MIN_CONNECTIONS
The property used to set the minimum number of connections that should be held in the pool |
| public static final String | OSGI_RECOVERY_IDENTIFIER
The property used to set the recovery identifier that should be used by this resource |
| public static final String | USE_DRIVER
The property used to set the maximum number of connections that should be held in the pool |
| public static final String | XA_ENLISTMENT_ENABLED
The property used to determine whether XA enlistment is enabled for this resource provider |
| public static final String | XA_RECOVERY_ENABLED
The property used to determine whether XA recovery is enabled for this resource provider |
| Modifier and Type | Method and Description |
|---|---|
| public JDBCConnectionProvider | Returns: AJDBCConnectionProvider that can be used in transactionsThe properties to pass to the
jdbcProperties, Map<String, Object> DataSourceFactory in order to create the underlying
DataSourceConfiguration properties to pass to the
JDBC Resource Provider runtime resourceProviderProperties)Create a private |
| public JDBCConnectionProvider | Returns: AJDBCConnectionProvider that can be used in transactionsConfiguration properties to pass to the
JDBC Resource Provider runtime resourceProviderProperties)Create a private |
| public JDBCConnectionProvider | Returns: AJDBCConnectionProvider that can be used in transactionsThe properties to pass to the jdbcProperties, Map<String, Object> Driver in
order to create a ConnectionConfiguration properties to pass to the
JDBC Resource Provider runtime resourceProviderProperties)Create a private |
| public JDBCConnectionProvider | Returns: AJDBCConnectionProvider that can be used in transactionsConfiguration properties to pass to the
JDBC Resource Provider runtime resourceProviderProperties)Create a private |
| public void | releaseProvider(JDBCConnectionProvider provider)
Release a |
| CONNECTION_LIFETIME | back to summary |
|---|---|
| public static final String CONNECTION_LIFETIME The property used to set the maximum amount of time that connections in the pool should remain open | |
| CONNECTION_POOLING_ENABLED | back to summary |
|---|---|
| public static final String CONNECTION_POOLING_ENABLED The property used to determine whether connection pooling is enabled for this resource provider | |
| CONNECTION_TIMEOUT | back to summary |
|---|---|
| public static final String CONNECTION_TIMEOUT The property used to set the maximum amount of time that the pool should wait for a connection | |
| IDLE_TIMEOUT | back to summary |
|---|---|
| public static final String IDLE_TIMEOUT The property used to set the maximum amount of time that connections in the pool should remain idle before being closed | |
| LOCAL_ENLISTMENT_ENABLED | back to summary |
|---|---|
| public static final String LOCAL_ENLISTMENT_ENABLED The property used to determine whether local enlistment is enabled for this resource provider | |
| MAX_CONNECTIONS | back to summary |
|---|---|
| public static final String MAX_CONNECTIONS The property used to set the maximum number of connections that should be held in the pool | |
| MIN_CONNECTIONS | back to summary |
|---|---|
| public static final String MIN_CONNECTIONS The property used to set the minimum number of connections that should be held in the pool | |
| OSGI_RECOVERY_IDENTIFIER | back to summary |
|---|---|
| public static final String OSGI_RECOVERY_IDENTIFIER The property used to set the recovery identifier that should be used by this resource | |
| USE_DRIVER | back to summary |
|---|---|
| public static final String USE_DRIVER The property used to set the maximum number of connections that should be held in the pool | |
| XA_ENLISTMENT_ENABLED | back to summary |
|---|---|
| public static final String XA_ENLISTMENT_ENABLED The property used to determine whether XA enlistment is enabled for this resource provider | |
| XA_RECOVERY_ENABLED | back to summary |
|---|---|
| public static final String XA_RECOVERY_ENABLED The property used to determine whether XA recovery is enabled for this resource provider | |
| getProviderFor | back to summary |
|---|---|
| public JDBCConnectionProvider getProviderFor(DataSourceFactory dsf, Properties jdbcProperties, Map<String, Object> resourceProviderProperties) Create a private
| |
| getProviderFor | back to summary |
|---|---|
| public JDBCConnectionProvider getProviderFor(DataSource ds, Map<String, Object> resourceProviderProperties) Create a private
| |
| getProviderFor | back to summary |
|---|---|
| public JDBCConnectionProvider getProviderFor(Driver driver, Properties jdbcProperties, Map<String, Object> resourceProviderProperties) Create a private
| |
| getProviderFor | back to summary |
|---|---|
| public JDBCConnectionProvider getProviderFor(XADataSource ds, Map<String, Object> resourceProviderProperties) Create a private
| |
| releaseProvider | back to summary |
|---|---|
| public void releaseProvider(JDBCConnectionProvider provider) Release a
Note that all
| |