Methods Summary |
---|
public void | onInitialization(com.sun.enterprise.server.ServerContext sc)Server is initializing subsystems and setting up the runtime environment.
Prepare for the beginning of active use of the public methods of this
subsystem. This method is called before any of the public methods of
this subsystem are utilized.
super.onInitialization(sc);
//create an instance of the PE Web Container (Tomcat)
PEWebContainer.createInstance(sc);
|
public void | onShutdown()Server is shutting down applications
if (PEWebContainer.getPEWebContainer() != null) {
PEWebContainer.getPEWebContainer().stopInstance();
} //else do nothing since PEWebContainer is not initialised
|
public void | onStartup(com.sun.enterprise.server.ServerContext sc)Server is starting up applications
PEWebContainer.getPEWebContainer().startInstance();
|
public void | onTermination()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.
|