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

com.avaje.ebean.plugin.Plugin Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebean.plugin;

/**
 * A 'plugin' that wants to be configured on startup so it can use features of the EbeanServer 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