com.sun.enterprise.web.pwc
Interface PwcWebContainerLifecycle

All Known Implementing Classes:
PwcWebContainer

public interface PwcWebContainerLifecycle


Method Summary
 void onInitialization(java.lang.String rootDir, java.lang.String instanceName, boolean useNaming, Logger logger, java.lang.String embeddedClassName)
           
 void onReady()
          Server has complted loading the applications and is ready to serve requests.
 void onShutdown()
          Server is shutting down applications
 void onStartup()
          Server is starting up applications
 void onTermination()
          Server is terminating the subsystems and the runtime environment.
 

Method Detail

onInitialization

void onInitialization(java.lang.String rootDir,
                      java.lang.String instanceName,
                      boolean useNaming,
                      Logger logger,
                      java.lang.String embeddedClassName)
                      throws java.lang.Exception
Throws:
java.lang.Exception

onStartup

void onStartup()
               throws java.lang.Exception
Server is starting up applications

Throws:
ServerLifecycleException - if this subsystem detects a fatal error that prevents this subsystem from being used
java.lang.Exception

onReady

void onReady()
             throws java.lang.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
java.lang.Exception

onShutdown

void onShutdown()
                throws java.lang.Exception
Server is shutting down applications

Throws:
ServerLifecycleException - if this subsystem detects a fatal error that prevents this subsystem from being used
java.lang.Exception

onTermination

void onTermination()
                   throws java.lang.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
java.lang.Exception


Copyright © 2012 GlassFish Community. All Rights Reserved.