Interface LifecycleComponent

    • Method Detail

      • getName

        java.lang.String getName()
      • removeLifecycleListener

        void removeLifecycleListener​(LifecycleListener listener)
      • start

        void start()
      • stop

        void stop()
      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • setExceptionHandler

        void setExceptionHandler​(java.lang.Thread.UncaughtExceptionHandler handler)
        Set the default handler invoked when a lifecycle component abruptly terminates due an uncaught exception.
        Parameters:
        handler - handler invoked when an uncaught exception happens in the lifecycle component.