Interface ServerStartupHook


public interface ServerStartupHook
This is the interface for the ServerStartupHook.

This handler may be specified in server.xml hooks section. The implementing class must implement this interface and have a no args constructor.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    This method is called when the server is starting.
  • Method Details

    • serverStarting

      boolean serverStarting()
      This method is called when the server is starting. If this method return false, the server will not start
      Returns:
      true if the server can be started