| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final JdbcEnvironmentInitiator | |
| private static final CoreMessageLogger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static JdbcConnectionAccess | buildBootstrapJdbcConnectionAccess(MultiTenancyStrategy multiTenancyStrategy, ServiceRegistryImplementor registry)
|
| private JdbcConnectionAccess | |
| public Class | getServiceInitiated()
Implements org. |
| public JdbcEnvironment | initiateService(Map<K, V>
The configuration values in effect configurationValues, ServiceRegistryImplementor The service registry. Can be used to locate services needed to fulfill initiation. registry)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final JdbcEnvironmentInitiator INSTANCE | |
| log | back to summary |
|---|---|
| private static final CoreMessageLogger log | |
| JdbcEnvironmentInitiator | back to summary |
|---|---|
| public JdbcEnvironmentInitiator() | |
| buildBootstrapJdbcConnectionAccess | back to summary |
|---|---|
| public static JdbcConnectionAccess buildBootstrapJdbcConnectionAccess(MultiTenancyStrategy multiTenancyStrategy, ServiceRegistryImplementor registry) | |
| buildJdbcConnectionAccess | back to summary |
|---|---|
| private JdbcConnectionAccess buildJdbcConnectionAccess(Map<K, V> configValues, ServiceRegistryImplementor registry) | |
| getServiceInitiated | back to summary |
|---|---|
| public Class Implements org. Doc from org. Obtains the service role initiated by this initiator. Should be unique within a registry
| |
| initiateService | back to summary |
|---|---|
| public JdbcEnvironment initiateService(Map<K, V> configurationValues, ServiceRegistryImplementor registry) Implements org. Doc from org. Initiates the managed service.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ConnectionProvider |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ConnectionProvider | |
| public Connection | obtainConnection()
Implements org. |
| public void | releaseConnection(Connection
The connection to release connection)Implements org. |
| public boolean | supportsAggressiveRelease()
Implements org. |
| connectionProvider | back to summary |
|---|---|
| private final ConnectionProvider connectionProvider | |
| ConnectionProviderJdbcConnectionAccess | back to summary |
|---|---|
| public ConnectionProviderJdbcConnectionAccess(ConnectionProvider connectionProvider) | |
| getConnectionProvider | back to summary |
|---|---|
| public ConnectionProvider getConnectionProvider() | |
| obtainConnection | back to summary |
|---|---|
| public Connection obtainConnection() throws SQLException Implements org. Doc from org. Obtain a JDBC connection
| |
| releaseConnection | back to summary |
|---|---|
| public void releaseConnection(Connection connection) throws SQLException Implements org. Doc from org. Release a previously obtained connection
| |
| supportsAggressiveRelease | back to summary |
|---|---|
| public boolean supportsAggressiveRelease() Implements org. Doc from org. Does the underlying provider of connections support aggressive releasing of connections (and re-acquisition of those connections later, if need be) in JTA environments?
| |
| Modifier and Type | Field and Description |
|---|---|
| private final MultiTenantConnectionProvider |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MultiTenantConnectionProvider | |
| public Connection | obtainConnection()
Implements org. |
| public void | releaseConnection(Connection
The connection to release connection)Implements org. |
| public boolean | supportsAggressiveRelease()
Implements org. |
| connectionProvider | back to summary |
|---|---|
| private final MultiTenantConnectionProvider connectionProvider | |
| MultiTenantConnectionProviderJdbcConnectionAccess | back to summary |
|---|---|
| public MultiTenantConnectionProviderJdbcConnectionAccess(MultiTenantConnectionProvider connectionProvider) | |
| getConnectionProvider | back to summary |
|---|---|
| public MultiTenantConnectionProvider getConnectionProvider() | |
| obtainConnection | back to summary |
|---|---|
| public Connection obtainConnection() throws SQLException Implements org. Doc from org. Obtain a JDBC connection
| |
| releaseConnection | back to summary |
|---|---|
| public void releaseConnection(Connection connection) throws SQLException Implements org. Doc from org. Release a previously obtained connection
| |
| supportsAggressiveRelease | back to summary |
|---|---|
| public boolean supportsAggressiveRelease() Implements org. Doc from org. Does the underlying provider of connections support aggressive releasing of connections (and re-acquisition of those connections later, if need be) in JTA environments?
| |