001package com.avaje.ebean.event; 002 003import com.avaje.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 * </p> 011 * 012 * @author Robin Bygrave 013 */ 014public interface ServerConfigStartup { 015 016 /** 017 * On starting configure the ServerConfig. 018 */ 019 void onStart(ServerConfig serverConfig); 020 021}