Class ActiveObjectsDataSourceProvider

java.lang.Object
com.atlassian.confluence.impl.activeobjects.ActiveObjectsDataSourceProvider
All Implemented Interfaces:
com.atlassian.activeobjects.spi.DataSourceProvider

public final class ActiveObjectsDataSourceProvider extends Object implements com.atlassian.activeobjects.spi.DataSourceProvider
An implementation of the ActiveObjects that obtains its JDBC connections from Hibernate
Since:
8.0
  • Constructor Details

    • ActiveObjectsDataSourceProvider

      public ActiveObjectsDataSourceProvider(SystemInformationService systemInformationService, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
  • Method Details

    • getDataSource

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

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

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