com.sun.enterprise.web.pwc
Class PwcWebContainer

java.lang.Object
  extended by com.sun.enterprise.web.pwc.PwcWebContainer
All Implemented Interfaces:
PwcWebContainerLifecycle

public class PwcWebContainer
extends java.lang.Object
implements PwcWebContainerLifecycle


Constructor Summary
PwcWebContainer()
           
 
Method Summary
 Embedded getEmbedded()
           
 Engine getEngine()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PwcWebContainer

public PwcWebContainer()
Method Detail

onInitialization

public void onInitialization(java.lang.String rootDir,
                             java.lang.String instanceName,
                             boolean useNaming,
                             Logger logger,
                             java.lang.String embeddedClassName)
                      throws java.lang.Exception
Specified by:
onInitialization in interface PwcWebContainerLifecycle
Throws:
java.lang.Exception

onStartup

public void onStartup()
               throws java.lang.Exception
Description copied from interface: PwcWebContainerLifecycle
Server is starting up applications

Specified by:
onStartup in interface PwcWebContainerLifecycle
Throws:
java.lang.Exception

onReady

public void onReady()
             throws java.lang.Exception
Description copied from interface: PwcWebContainerLifecycle
Server has complted loading the applications and is ready to serve requests.

Specified by:
onReady in interface PwcWebContainerLifecycle
Throws:
java.lang.Exception

onShutdown

public void onShutdown()
                throws java.lang.Exception
Description copied from interface: PwcWebContainerLifecycle
Server is shutting down applications

Specified by:
onShutdown in interface PwcWebContainerLifecycle
Throws:
java.lang.Exception

onTermination

public void onTermination()
                   throws java.lang.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 interface PwcWebContainerLifecycle
Throws:
java.lang.Exception

getEngine

public Engine getEngine()

getEmbedded

public Embedded getEmbedded()


Copyright © 2012 GlassFish Community. All Rights Reserved.