public class DelegatingConnectionProviderInitiator extends Object implements org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>, ConnectionProviderController
| Modifier | Constructor and Description |
|---|---|
protected |
DelegatingConnectionProviderInitiator(org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator delegatedInitiator,
ConnectionTracker connectionTracker) |
|
DelegatingConnectionProviderInitiator(ConnectionTracker connectionTracker) |
| Modifier and Type | Method and Description |
|---|---|
Class<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider> |
getServiceInitiated() |
org.hibernate.engine.jdbc.connections.spi.ConnectionProvider |
initiateService(Map configurationValues,
org.hibernate.service.spi.ServiceRegistryImplementor registry) |
void |
restart()
Enables the underlying implementation to re-start fulfilling connection requests
|
void |
shutdown(String shutDownReason)
Shuts down the underlying implementation, and force new connection requests to be rejected with the specified
reason
|
public DelegatingConnectionProviderInitiator(ConnectionTracker connectionTracker)
protected DelegatingConnectionProviderInitiator(org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator delegatedInitiator,
ConnectionTracker connectionTracker)
public org.hibernate.engine.jdbc.connections.spi.ConnectionProvider initiateService(Map configurationValues, org.hibernate.service.spi.ServiceRegistryImplementor registry)
initiateService in interface org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>public Class<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider> getServiceInitiated()
getServiceInitiated in interface org.hibernate.service.spi.ServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>public void restart()
ConnectionProviderControllerrestart in interface ConnectionProviderControllerpublic void shutdown(String shutDownReason)
ConnectionProviderControllershutdown in interface ConnectionProviderControllerCopyright © 2020 Atlassian. All rights reserved.