001package io.ebean.config;
002
003/**
004 * Used to provide some automatic configuration early in the creation of a Database.
005 */
006public interface AutoConfigure {
007
008  /**
009   * Perform configuration for the DatabaseConfig prior to properties load.
010   */
011  void preConfigure(DatabaseConfig config);
012
013  /**
014   * Provide some configuration the DatabaseConfig prior to server creation but after properties have been applied.
015   */
016  void postConfigure(DatabaseConfig config);
017
018}