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 Details

    • DelegatingConnectionProviderInitiator

      public DelegatingConnectionProviderInitiator(ConnectionTracker connectionTracker)
    • 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 interface org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>
    • getServiceInitiated

      public Class<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider> getServiceInitiated()
      Specified by:
      getServiceInitiated in interface org.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 interface ConnectionProviderController
    • shutdown

      public void shutdown(String shutDownReason)
      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 interface ConnectionProviderController