DataSourceProvider instead. Since v7.4.@Deprecated @ParametersAreNonnullByDefault public final class JiraTenantAwareDataSourceProvider extends Object implements com.atlassian.activeobjects.spi.TenantAwareDataSourceProvider
TenantAwareDataSourceProvider. This class is subject to removal in JIRA 8.0
or later (currently it's exposed to the plugin system as an implementation of that interface).
Client code (e.g. plugins) should instead inject a DataSourceProvider.
This implementation simply delegates to a tenant-unaware DataSourceProvider, given that
tenancy does not apply in Server.JiraDataSourceProvider| Constructor and Description |
|---|
JiraTenantAwareDataSourceProvider(com.atlassian.activeobjects.spi.DataSourceProvider delegate)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.activeobjects.spi.DatabaseType |
getDatabaseType(com.atlassian.tenancy.api.Tenant tenant)
Deprecated.
|
DataSource |
getDataSource(com.atlassian.tenancy.api.Tenant tenant)
Deprecated.
|
String |
getSchema(com.atlassian.tenancy.api.Tenant tenant)
Deprecated.
|
public JiraTenantAwareDataSourceProvider(com.atlassian.activeobjects.spi.DataSourceProvider delegate)
@Nonnull public DataSource getDataSource(com.atlassian.tenancy.api.Tenant tenant)
getDataSource in interface com.atlassian.activeobjects.spi.TenantAwareDataSourceProvider@Nonnull public com.atlassian.activeobjects.spi.DatabaseType getDatabaseType(com.atlassian.tenancy.api.Tenant tenant)
getDatabaseType in interface com.atlassian.activeobjects.spi.TenantAwareDataSourceProviderpublic String getSchema(com.atlassian.tenancy.api.Tenant tenant)
getSchema in interface com.atlassian.activeobjects.spi.TenantAwareDataSourceProviderCopyright © 2002-2019 Atlassian. All Rights Reserved.