public class DelegatingConnectionProvider extends Object implements org.hibernate.engine.jdbc.connections.spi.ConnectionProvider, org.hibernate.service.spi.Stoppable, org.hibernate.service.spi.Configurable, org.hibernate.service.spi.ServiceRegistryAwareService
Constructor and Description |
---|
DelegatingConnectionProvider(org.hibernate.engine.jdbc.connections.spi.ConnectionProvider delegate,
ConnectionTracker connectionTracker) |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection(Connection conn) |
void |
configure(Map configurationValues) |
Connection |
getConnection() |
void |
injectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry) |
boolean |
isUnwrappableAs(Class unwrapType) |
void |
restart() |
void |
shutdown(String refusalReason) |
void |
stop() |
boolean |
supportsAggressiveRelease() |
<T> T |
unwrap(Class<T> unwrapType) |
public DelegatingConnectionProvider(org.hibernate.engine.jdbc.connections.spi.ConnectionProvider delegate, ConnectionTracker connectionTracker)
public Connection getConnection() throws SQLException
getConnection
in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
SQLException
public void closeConnection(Connection conn) throws SQLException
closeConnection
in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
SQLException
public boolean supportsAggressiveRelease()
supportsAggressiveRelease
in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
public boolean isUnwrappableAs(Class unwrapType)
isUnwrappableAs
in interface org.hibernate.service.spi.Wrapped
public <T> T unwrap(Class<T> unwrapType)
unwrap
in interface org.hibernate.service.spi.Wrapped
public void stop()
stop
in interface org.hibernate.service.spi.Stoppable
public void configure(Map configurationValues)
configure
in interface org.hibernate.service.spi.Configurable
public void injectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry)
injectServices
in interface org.hibernate.service.spi.ServiceRegistryAwareService
public void restart()
public void shutdown(String refusalReason)
Copyright © 2020 Atlassian. All rights reserved.