Package com.atlassian.crowd.ao
Class ApplicationDataSourceProvider
java.lang.Object
com.atlassian.crowd.ao.ApplicationDataSourceProvider
- All Implemented Interfaces:
com.atlassian.activeobjects.spi.DataSourceProvider
public class ApplicationDataSourceProvider
extends Object
implements com.atlassian.activeobjects.spi.DataSourceProvider
-
Field Summary
-
Constructor Summary
ConstructorDescriptionApplicationDataSourceProvider
(org.hibernate.SessionFactory sessionFactory, com.atlassian.config.ApplicationConfig applicationConfig) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.activeobjects.spi.DatabaseType
-
Field Details
-
log
protected static final org.slf4j.Logger log
-
-
Constructor Details
-
ApplicationDataSourceProvider
public ApplicationDataSourceProvider(org.hibernate.SessionFactory sessionFactory, com.atlassian.config.ApplicationConfig applicationConfig)
-
-
Method Details
-
getDataSource
- Specified by:
getDataSource
in interfacecom.atlassian.activeobjects.spi.DataSourceProvider
-
getDatabaseType
@Nonnull public com.atlassian.activeobjects.spi.DatabaseType getDatabaseType()- Specified by:
getDatabaseType
in interfacecom.atlassian.activeobjects.spi.DataSourceProvider
-
getSchema
- Specified by:
getSchema
in interfacecom.atlassian.activeobjects.spi.DataSourceProvider
-