Package com.sun.enterprise.web.pwc
Interface PwcWebContainerLifecycle
-
- All Known Implementing Classes:
PwcWebContainer
public interface PwcWebContainerLifecycle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonInitialization(String rootDir, String instanceName, boolean useNaming, Logger logger, String embeddedClassName)voidonReady()Server has complted loading the applications and is ready to serve requests.voidonShutdown()Server is shutting down applicationsvoidonStartup()Server is starting up applicationsvoidonTermination()Server is terminating the subsystems and the runtime environment.
-
-
-
Method Detail
-
onInitialization
void onInitialization(String rootDir, String instanceName, boolean useNaming, Logger logger, String embeddedClassName) throws Exception
- Throws:
Exception
-
onStartup
void onStartup() throws ExceptionServer is starting up applications- Throws:
ServerLifecycleException- if this subsystem detects a fatal error that prevents this subsystem from being usedException
-
onReady
void onReady() throws ExceptionServer 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 usedException
-
onShutdown
void onShutdown() throws ExceptionServer is shutting down applications- Throws:
ServerLifecycleException- if this subsystem detects a fatal error that prevents this subsystem from being usedException
-
onTermination
void onTermination() throws ExceptionServer 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 usedException
-
-