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 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

      @Nonnull public DataSource getDataSource()
      Specified by:
      getDataSource in interface com.atlassian.activeobjects.spi.DataSourceProvider
    • getDatabaseType

      @Nonnull public com.atlassian.activeobjects.spi.DatabaseType getDatabaseType()
      Specified by:
      getDatabaseType in interface com.atlassian.activeobjects.spi.DataSourceProvider
    • getSchema

      @Nullable public String getSchema()
      Specified by:
      getSchema in interface com.atlassian.activeobjects.spi.DataSourceProvider