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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApplicationDataSourceProvider(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:
getDataSourcein interfacecom.atlassian.activeobjects.spi.DataSourceProvider
-
getDatabaseType
@Nonnull public com.atlassian.activeobjects.spi.DatabaseType getDatabaseType()- Specified by:
getDatabaseTypein interfacecom.atlassian.activeobjects.spi.DataSourceProvider
-
getSchema
- Specified by:
getSchemain interfacecom.atlassian.activeobjects.spi.DataSourceProvider
-