001package io.ebean.event;
002
003import io.ebean.config.DatabaseConfig;
004
005/**
006 * Used to configure the server on startup.
007 * <p>
008 * Provides a simple way to construct and register multiple listeners and
009 * adapters that need shared services without using DI.
010 */
011public interface ServerConfigStartup {
012
013  /**
014   * On starting configure the DatabaseConfig.
015   */
016  void onStart(DatabaseConfig config);
017
018}