com.avaje.ebean.event.ServerConfigStartup Maven / Gradle / Ivy
package com.avaje.ebean.event;
import com.avaje.ebean.config.ServerConfig;
/**
* Used to configure the server on startup.
*
* Provides a simple way to construct and register multiple listeners and
* adapters that need shared services without using DI.
*
*
* @author Robin Bygrave
*/
public interface ServerConfigStartup {
/**
* On starting configure the ServerConfig.
*/
void onStart(ServerConfig serverConfig);
}