Interface Lifecycle

All Known Subinterfaces:
ApplicationAdapter, Service
All Known Implementing Classes:
DBConnPool, DefaultApplicationAdapter, ServiceAdapter, Settings, TimerManager

public interface Lifecycle
Provides a consistent mechanism to start and stop components.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    This method is called on shutdown.
    default void
    This method is called when the object is "started".
  • Method Details

    • startup

      default void startup()
      This method is called when the object is "started".
    • shutdown

      default void shutdown()
      This method is called on shutdown.