public class RefappTenantAwareDataSourceProvider
extends com.atlassian.activeobjects.spi.AbstractTenantAwareDataSourceProvider
| Constructor and Description |
|---|
RefappTenantAwareDataSourceProvider(ConnectionProvider connectionProvider) |
| 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) |
String |
getSchema(com.atlassian.tenancy.api.Tenant tenant) |
public RefappTenantAwareDataSourceProvider(@Nonnull ConnectionProvider connectionProvider)
@Nonnull public DataSource getDataSource(@Nonnull com.atlassian.tenancy.api.Tenant tenant)
@Nonnull public com.atlassian.activeobjects.spi.DatabaseType getDatabaseType(@Nonnull com.atlassian.tenancy.api.Tenant tenant)
getDatabaseType in interface com.atlassian.activeobjects.spi.TenantAwareDataSourceProvidergetDatabaseType in class com.atlassian.activeobjects.spi.AbstractTenantAwareDataSourceProviderCopyright © 2018 Atlassian. All rights reserved.