Interface Plugin


  • public interface Plugin
    A 'plugin' that wants to be configured on startup so it can use features of the Database itself.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void configure​(SpiServer server)
      Configure the plugin.
      void online​(boolean online)
      Called just before the server starts indicating if it is coming up in online mode.
      void shutdown()
      Called when the server is shutting down.
    • Method Detail

      • online

        void online​(boolean online)
        Called just before the server starts indicating if it is coming up in online mode.
      • shutdown

        void shutdown()
        Called when the server is shutting down.

        Plugins should shutdown any resources they are using cleanly.