Class BambooTenantAwareDataSourceProvider
- java.lang.Object
-
- com.atlassian.activeobjects.spi.AbstractTenantAwareDataSourceProvider
-
- com.atlassian.bamboo.activeobjects.BambooTenantAwareDataSourceProvider
-
- All Implemented Interfaces:
com.atlassian.activeobjects.spi.DataSourceProvider
,com.atlassian.activeobjects.spi.TenantAwareDataSourceProvider
public final class BambooTenantAwareDataSourceProvider extends com.atlassian.activeobjects.spi.AbstractTenantAwareDataSourceProvider
-
-
Constructor Summary
Constructors Constructor Description BambooTenantAwareDataSourceProvider(PluginHibernateSessionFactory sessionFactory, BambooDatabaseTypeProvider bambooDatabaseTypeProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull com.atlassian.activeobjects.spi.DatabaseType
getDatabaseType(@NotNull com.atlassian.tenancy.api.Tenant tenant)
@NotNull DataSource
getDataSource(@NotNull com.atlassian.tenancy.api.Tenant tenant)
-
Methods inherited from class com.atlassian.activeobjects.spi.AbstractTenantAwareDataSourceProvider
getSchema
-
-
-
-
Constructor Detail
-
BambooTenantAwareDataSourceProvider
@Autowired public BambooTenantAwareDataSourceProvider(PluginHibernateSessionFactory sessionFactory, BambooDatabaseTypeProvider bambooDatabaseTypeProvider)
-
-
Method Detail
-
getDataSource
@NotNull public @NotNull DataSource getDataSource(@NotNull @NotNull com.atlassian.tenancy.api.Tenant tenant)
-
getDatabaseType
@NotNull public @NotNull com.atlassian.activeobjects.spi.DatabaseType getDatabaseType(@NotNull @NotNull com.atlassian.tenancy.api.Tenant tenant)
- Specified by:
getDatabaseType
in interfacecom.atlassian.activeobjects.spi.TenantAwareDataSourceProvider
- Overrides:
getDatabaseType
in classcom.atlassian.activeobjects.spi.AbstractTenantAwareDataSourceProvider
-
-