Package com.sun.enterprise.web.pwc
Class PwcWebContainer
- java.lang.Object
-
- com.sun.enterprise.web.pwc.PwcWebContainer
-
- All Implemented Interfaces:
PwcWebContainerLifecycle
public class PwcWebContainer extends Object implements PwcWebContainerLifecycle
-
-
Constructor Summary
Constructors Constructor Description PwcWebContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Embedded
getEmbedded()
Engine
getEngine()
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
public void onInitialization(String rootDir, String instanceName, boolean useNaming, Logger logger, String embeddedClassName) throws Exception
- Specified by:
onInitialization
in interfacePwcWebContainerLifecycle
- Throws:
Exception
-
onStartup
public void onStartup() throws Exception
Description copied from interface:PwcWebContainerLifecycle
Server is starting up applications- Specified by:
onStartup
in interfacePwcWebContainerLifecycle
- Throws:
Exception
-
onReady
public void onReady() throws Exception
Description copied from interface:PwcWebContainerLifecycle
Server has complted loading the applications and is ready to serve requests.- Specified by:
onReady
in interfacePwcWebContainerLifecycle
- Throws:
Exception
-
onShutdown
public void onShutdown() throws Exception
Description copied from interface:PwcWebContainerLifecycle
Server is shutting down applications- Specified by:
onShutdown
in interfacePwcWebContainerLifecycle
- Throws:
Exception
-
onTermination
public void onTermination() throws Exception
Description copied from interface:PwcWebContainerLifecycle
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.- Specified by:
onTermination
in interfacePwcWebContainerLifecycle
- Throws:
Exception
-
getEngine
public Engine getEngine()
-
getEmbedded
public Embedded getEmbedded()
-
-