All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.plugin.Plugin Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebean.plugin;

/**
 * A 'plugin' that wants to be configured on startup so it can use features of the Database itself.
 */
public interface Plugin {

  /**
   * Configure the plugin.
   */
  void configure(SpiServer server);

  /**
   * Called just before the server starts indicating if it is coming up in online mode.
   */
  void online(boolean online);

  /**
   * Called when the server is shutting down.
   * 

* Plugins should shutdown any resources they are using cleanly. *

*/ void shutdown(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy