Interface I_CmsDbContextFactory

All Known Implementing Classes:
CmsDbContextFactory

public interface I_CmsDbContextFactory
This interface defines a factory to create runtime info objects.

Since:
6.0.0
  • Method Details

    • initialize

      void initialize(CmsDriverManager driverManager)
      Initializes the runtime info factory with the OpenCms driver manager.

      Parameters:
      driverManager - the initialized OpenCms driver manager
    • getDbContext

      Returns a new database context based on the given user request context.

      Parameters:
      context - the user request context to initialize the database context with
      Returns:
      a new database context based on the given user request context
    • getDbContext

      Returns a new database context.

      Returns:
      a new database context