io.ebean.event.ServerConfigStartup Maven / Gradle / Ivy
package io.ebean.event;
import io.ebean.DatabaseBuilder;
/**
* 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.
*/
public interface ServerConfigStartup {
/**
* On starting configure the DatabaseConfig.
*/
void onStart(DatabaseBuilder config);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy