public final class BambooTenantAwareDataSourceProvider
extends com.atlassian.activeobjects.spi.AbstractTenantAwareDataSourceProvider
Constructor and Description |
---|
BambooTenantAwareDataSourceProvider(PluginHibernateSessionFactory sessionFactory,
DialectExtractor dialectExtractor) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.activeobjects.spi.DatabaseType |
getDatabaseType(com.atlassian.tenancy.api.Tenant tenant) |
DataSource |
getDataSource(com.atlassian.tenancy.api.Tenant tenant) |
@Autowired public BambooTenantAwareDataSourceProvider(PluginHibernateSessionFactory sessionFactory, DialectExtractor dialectExtractor)
@NotNull public DataSource getDataSource(@NotNull com.atlassian.tenancy.api.Tenant tenant)
@NotNull public com.atlassian.activeobjects.spi.DatabaseType getDatabaseType(@NotNull com.atlassian.tenancy.api.Tenant tenant)
getDatabaseType
in interface com.atlassian.activeobjects.spi.TenantAwareDataSourceProvider
getDatabaseType
in class com.atlassian.activeobjects.spi.AbstractTenantAwareDataSourceProvider
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.