Interface DeactivatedContainer

    • Method Detail

      • notifyTermination

        void notifyTermination​(java.lang.Runnable task)

        Schedules the given Runnable to execute once this DeactivatedContainer has terminated. A DeactivatedContainer is considered to have terminated once there are no more Requests, Responses or corresponding ContentChannels being processed by components that belong to it.

        If termination has already occured, this method immediately runs the given Runnable in the current thread.

        Parameters:
        task - The task to run once this DeactivatedContainer has terminated.