public class DefaultConnectionProviderSupplier extends Object implements ConnectionProviderSupplier
Constructor and Description |
---|
DefaultConnectionProviderSupplier(com.atlassian.config.db.HibernateConfig hibernateConfig) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
org.hibernate.engine.jdbc.connections.spi.ConnectionProvider |
getConnectionProvider(DataSource dataSource)
Get a
ConnectionProvider for the given DataSource . |
public DefaultConnectionProviderSupplier(com.atlassian.config.db.HibernateConfig hibernateConfig)
@Nonnull public org.hibernate.engine.jdbc.connections.spi.ConnectionProvider getConnectionProvider(@Nullable DataSource dataSource)
ConnectionProviderSupplier
ConnectionProvider
for the given DataSource
.getConnectionProvider
in interface ConnectionProviderSupplier
@PreDestroy public void destroy() throws Exception
Exception
Copyright © 2003–2020 Atlassian. All rights reserved.