001package io.ebean.event;
002
003import io.ebean.config.ServerConfig;
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 ServerConfig.
015   */
016  void onStart(ServerConfig serverConfig);
017
018}