Class DelegatingConnectionProviderInitiator
java.lang.Object
com.atlassian.crowd.util.persistence.hibernate.connection.DelegatingConnectionProviderInitiator
- All Implemented Interfaces:
ConnectionProviderController
,org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>
,org.hibernate.service.spi.ServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>
public class DelegatingConnectionProviderInitiator
extends Object
implements org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>, ConnectionProviderController
-
Constructor Summary
ModifierConstructorDescriptionDelegatingConnectionProviderInitiator
(ConnectionTracker connectionTracker) protected
DelegatingConnectionProviderInitiator
(org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator delegatedInitiator, ConnectionTracker connectionTracker) -
Method Summary
Modifier and TypeMethodDescriptionClass<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>
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 requestsvoid
Shuts down the underlying implementation, and force new connection requests to be rejected with the specified reason
-
Constructor Details
-
DelegatingConnectionProviderInitiator
-
DelegatingConnectionProviderInitiator
protected DelegatingConnectionProviderInitiator(org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator delegatedInitiator, ConnectionTracker connectionTracker)
-
-
Method Details
-
initiateService
public org.hibernate.engine.jdbc.connections.spi.ConnectionProvider initiateService(Map configurationValues, org.hibernate.service.spi.ServiceRegistryImplementor registry) - Specified by:
initiateService
in interfaceorg.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>
-
getServiceInitiated
- Specified by:
getServiceInitiated
in interfaceorg.hibernate.service.spi.ServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>
-
restart
public void restart()Description copied from interface:ConnectionProviderController
Enables the underlying implementation to re-start fulfilling connection requests- Specified by:
restart
in interfaceConnectionProviderController
-
shutdown
Description copied from interface:ConnectionProviderController
Shuts down the underlying implementation, and force new connection requests to be rejected with the specified reason- Specified by:
shutdown
in interfaceConnectionProviderController
-