Interface PwcWebContainerLifecycle

  • All Known Implementing Classes:
    PwcWebContainer

    public interface PwcWebContainerLifecycle
    • Method Detail

      • onStartup

        void onStartup()
                throws Exception
        Server is starting up applications
        Throws:
        ServerLifecycleException - if this subsystem detects a fatal error that prevents this subsystem from being used
        Exception
      • onReady

        void onReady()
              throws Exception
        Server has complted loading the applications and is ready to serve requests.
        Throws:
        ServerLifecycleException - if this subsystem detects a fatal error that prevents this subsystem from being used
        Exception
      • onShutdown

        void onShutdown()
                 throws Exception
        Server is shutting down applications
        Throws:
        ServerLifecycleException - if this subsystem detects a fatal error that prevents this subsystem from being used
        Exception
      • onTermination

        void onTermination()
                    throws Exception
        Server is terminating the subsystems and the runtime environment. Gracefully terminate the active use of the public methods of this subsystem. This method should be the last one called on a given instance of this subsystem.
        Throws:
        ServerLifecycleException - if this subsystem detects a fatal error that prevents this subsystem from being used
        Exception