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 void
onInitialization(String rootDir, String instanceName, boolean useNaming, Logger logger, String embeddedClassName)
void
onReady()
Server has complted loading the applications and is ready to serve requests.void
onShutdown()
Server is shutting down applicationsvoid
onStartup()
Server is starting up applicationsvoid
onTermination()
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 Exception
Server is starting up applications- Throws:
ServerLifecycleException
- if this subsystem detects a fatal error that prevents this subsystem from being usedException
-
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 usedException
-
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 usedException
-
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 usedException
-
-