Interface EmbeddedLifecycle


@Contract public interface EmbeddedLifecycle
Listener type contract to be notified of embedded server creation and destruction.
Author:
Jerome Dochez
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    creation(Server server)
    Notification of embedded server creation
    void
    Notification of embedded server destruction
  • Method Details

    • creation

      void creation(Server server)
      Notification of embedded server creation
      Parameters:
      server - the newly created server
    • destruction

      void destruction(Server server)
      Notification of embedded server destruction
      Parameters:
      server - the stopped embedded server instance