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 EmbeddedgetEmbedded()EnginegetEngine()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
public void onInitialization(String rootDir, String instanceName, boolean useNaming, Logger logger, String embeddedClassName) throws Exception
- Specified by:
onInitializationin interfacePwcWebContainerLifecycle- Throws:
Exception
-
onStartup
public void onStartup() throws ExceptionDescription copied from interface:PwcWebContainerLifecycleServer is starting up applications- Specified by:
onStartupin interfacePwcWebContainerLifecycle- Throws:
Exception
-
onReady
public void onReady() throws ExceptionDescription copied from interface:PwcWebContainerLifecycleServer has complted loading the applications and is ready to serve requests.- Specified by:
onReadyin interfacePwcWebContainerLifecycle- Throws:
Exception
-
onShutdown
public void onShutdown() throws ExceptionDescription copied from interface:PwcWebContainerLifecycleServer is shutting down applications- Specified by:
onShutdownin interfacePwcWebContainerLifecycle- Throws:
Exception
-
onTermination
public void onTermination() throws ExceptionDescription copied from interface:PwcWebContainerLifecycleServer 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:
onTerminationin interfacePwcWebContainerLifecycle- Throws:
Exception
-
getEngine
public Engine getEngine()
-
getEmbedded
public Embedded getEmbedded()
-
-