public class JdbcEnvironmentInitiator extends Object implements StandardServiceInitiator<JdbcEnvironment>
Modifier and Type | Class and Description |
---|---|
static class |
JdbcEnvironmentInitiator.ConnectionProviderJdbcConnectionAccess |
static class |
JdbcEnvironmentInitiator.MultiTenantConnectionProviderJdbcConnectionAccess |
Modifier and Type | Field and Description |
---|---|
static JdbcEnvironmentInitiator |
INSTANCE |
Constructor and Description |
---|
JdbcEnvironmentInitiator() |
Modifier and Type | Method and Description |
---|---|
static JdbcConnectionAccess |
buildBootstrapJdbcConnectionAccess(MultiTenancyStrategy multiTenancyStrategy,
ServiceRegistryImplementor registry) |
Class<JdbcEnvironment> |
getServiceInitiated()
Obtains the service role initiated by this initiator.
|
JdbcEnvironment |
initiateService(Map configurationValues,
ServiceRegistryImplementor registry)
Initiates the managed service.
|
public static final JdbcEnvironmentInitiator INSTANCE
public Class<JdbcEnvironment> getServiceInitiated()
ServiceInitiator
getServiceInitiated
in interface ServiceInitiator<JdbcEnvironment>
public JdbcEnvironment initiateService(Map configurationValues, ServiceRegistryImplementor registry)
StandardServiceInitiator
initiateService
in interface StandardServiceInitiator<JdbcEnvironment>
configurationValues
- The configuration values in effectregistry
- The service registry. Can be used to locate services needed to fulfill initiation.public static JdbcConnectionAccess buildBootstrapJdbcConnectionAccess(MultiTenancyStrategy multiTenancyStrategy, ServiceRegistryImplementor registry)
Copyright © 2017 JBoss by Red Hat. All rights reserved.