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