Interface LifeCycle

  • All Known Implementing Classes:
    CacheSessionService, NotificationServiceImpl

    public interface LifeCycle
    Manages Lifecycle on an object. The start() method can be used to initialize state of the managed object (obtaining resources, connections, ...), where respectively the stop() method can be used to free resources used by the managed object (releasing connections, clearing caches, ...).

    Note that Lifecycle is only used with AmService associated services.

    • Method Detail

      • start

        void start()
            throws Exception
        Starts this object.
        Throws:
        Exception - if startup fails.
      • stop

        void stop()
        Stops this object.