ConnectionProvider.
| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | AGROAL_STRATEGY
The strategy for agroal connection pooling |
| public static final String | C3P0_STRATEGY
The strategy for c3p0 connection pooling |
| private static final Map | |
| public static final String | HIKARI_STRATEGY
The strategy for hikari connection pooling |
| public static final String | INJECTION_DATA
No idea. |
| public static final ConnectionProviderInitiator | INSTANCE
Singleton access |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final CoreMessageLogger | |
| public static final String | PROXOOL_STRATEGY
The strategy for proxool connection pooling |
| private static final Set | |
| public static final String | VIBUR_STRATEGY
The strategy for vibur connection pooling |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private static boolean | |
| public static void | consumeSetting(Map<String, Object> settings, ConnectionProviderInitiator.
|
| public static Integer | |
| public static String | |
| public static Properties | Returns: The connection properties.The map from which to build the connection specific properties. properties)Build the connection properties capable of being passed to
|
| public Class | getServiceInitiated()
Implements org. |
| private Class | |
| private boolean | |
| public ConnectionProvider | initiateService(Map<String, Object>
The configuration values in effect configurationValues, ServiceRegistryImplementor The service registry. Can be used to locate services needed to fulfill initiation. registry)Implements org. |
| private ConnectionProvider | |
| private ConnectionProvider | |
| private ConnectionProvider | |
| private ConnectionProvider | |
| private ConnectionProvider | |
| private ConnectionProvider | |
| public static Integer | |
| private static boolean | |
| public static String | Returns: The corresponding Connection constant name.The transaction isolation numeric value. isolation)Gets the |
| public static String | Returns: a nice human-readable nameThe transaction isolation numeric value. isolation)Get the name of a JDBC transaction isolation level |
| private boolean |
| AGROAL_STRATEGY | back to summary |
|---|---|
| public static final String AGROAL_STRATEGY The strategy for agroal connection pooling | |
| C3P0_STRATEGY | back to summary |
|---|---|
| public static final String C3P0_STRATEGY The strategy for c3p0 connection pooling | |
| CONDITIONAL_PROPERTIES | back to summary |
|---|---|
| private static final Map<String, String> CONDITIONAL_PROPERTIES | |
| HIKARI_STRATEGY | back to summary |
|---|---|
| public static final String HIKARI_STRATEGY The strategy for hikari connection pooling | |
| INJECTION_DATA | back to summary |
|---|---|
| public static final String INJECTION_DATA No idea. Is this even still used? | |
| INSTANCE | back to summary |
|---|---|
| public static final ConnectionProviderInitiator INSTANCE Singleton access | |
| ISOLATION_VALUE_CONSTANT_NAME_MAP | back to summary |
|---|---|
| private static final Map<Integer, String> ISOLATION_VALUE_CONSTANT_NAME_MAP | |
| ISOLATION_VALUE_MAP | back to summary |
|---|---|
| private static final Map<String, Integer> ISOLATION_VALUE_MAP | |
| ISOLATION_VALUE_NICE_NAME_MAP | back to summary |
|---|---|
| private static final Map<Integer, String> ISOLATION_VALUE_NICE_NAME_MAP | |
| LEGACY_CONNECTION_PROVIDER_MAPPING | back to summary |
|---|---|
| private static final Map<String, String> LEGACY_CONNECTION_PROVIDER_MAPPING | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| PROXOOL_STRATEGY | back to summary |
|---|---|
| public static final String PROXOOL_STRATEGY The strategy for proxool connection pooling | |
| SPECIAL_PROPERTIES | back to summary |
|---|---|
| private static final Set<String> SPECIAL_PROPERTIES | |
| VIBUR_STRATEGY | back to summary |
|---|---|
| public static final String VIBUR_STRATEGY The strategy for vibur connection pooling | |
| ConnectionProviderInitiator | back to summary |
|---|---|
| public ConnectionProviderInitiator() | |
| agroalConfigDefined | back to summary |
|---|---|
| private boolean agroalConfigDefined(Map<String, Object> configValues) | |
| c3p0ConfigDefined | back to summary |
|---|---|
| private static boolean c3p0ConfigDefined(Map<String, Object> configValues) | |
| consumeSetting | back to summary |
|---|---|
| public static void consumeSetting(Map<String, Object> settings, ConnectionProviderInitiator. | |
| extractIsolation | back to summary |
|---|---|
| public static Integer extractIsolation(Map<String, ?> settings) | |
| extractSetting | back to summary |
|---|---|
| public static String extractSetting(Map<String, Object> settings, String... names) | |
| getConnectionProperties | back to summary |
|---|---|
| public static Properties getConnectionProperties(Map<String, Object> properties) Build the connection properties capable of being passed to
| |
| 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
| |
| getSingleRegisteredProvider | back to summary |
|---|---|
| private Class | |
| hikariConfigDefined | back to summary |
|---|---|
| private boolean hikariConfigDefined(Map<String, Object> configValues) | |
| initiateService | back to summary |
|---|---|
| public ConnectionProvider initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry) Implements org. Doc from org. Initiates the managed service.
| |
| instantiateAgroalProvider | back to summary |
|---|---|
| private ConnectionProvider instantiateAgroalProvider(StrategySelector strategySelector) | |
| instantiateC3p0Provider | back to summary |
|---|---|
| private ConnectionProvider instantiateC3p0Provider(StrategySelector strategySelector) | |
| instantiateExplicitConnectionProvider | back to summary |
|---|---|
| private ConnectionProvider instantiateExplicitConnectionProvider(Class<?> providerClass) | |
| instantiateHikariProvider | back to summary |
|---|---|
| private ConnectionProvider instantiateHikariProvider(StrategySelector strategySelector) | |
| instantiateProxoolProvider | back to summary |
|---|---|
| private ConnectionProvider instantiateProxoolProvider(StrategySelector strategySelector) | |
| instantiateViburProvider | back to summary |
|---|---|
| private ConnectionProvider instantiateViburProvider(StrategySelector strategySelector) | |
| interpretIsolation | back to summary |
|---|---|
| public static Integer interpretIsolation(Object setting) | |
| proxoolConfigDefined | back to summary |
|---|---|
| private static boolean proxoolConfigDefined(Map<String, Object> configValues) | |
| toIsolationConnectionConstantName | back to summary |
|---|---|
| public static String toIsolationConnectionConstantName(Integer isolation) Gets the
| |
| toIsolationNiceName | back to summary |
|---|---|
| public static String toIsolationNiceName(Integer isolation) Get the name of a JDBC transaction isolation level
| |
| viburConfigDefined | back to summary |
|---|---|
| private boolean viburConfigDefined(Map<String, Object> configValues) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| consumeSetting | back to summary |
|---|---|
| public void consumeSetting(String name, String value) | |