com.sun.enterprise.v3.server
Class AppServerStartup

java.lang.Object
  extended by com.sun.enterprise.v3.server.AppServerStartup
All Implemented Interfaces:
com.sun.enterprise.module.bootstrap.ModuleStartup

@Service
public class AppServerStartup
extends Object
implements com.sun.enterprise.module.bootstrap.ModuleStartup

Main class for Glassfish v3 startup This class spawns a non-daemon Thread when the start() is called. Having a non-daemon thread allows us to control lifecycle of server JVM. The thead is stopped when stop() is called.

Author:
Jerome Dochez, sahoo@sun.com

Constructor Summary
AppServerStartup()
           
 
Method Summary
static void printModuleStatus(com.sun.enterprise.module.ModulesRegistry registry, Level level)
           
 void run()
           
 void setStartupContext(com.sun.enterprise.module.bootstrap.StartupContext context)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppServerStartup

public AppServerStartup()
Method Detail

setStartupContext

public void setStartupContext(com.sun.enterprise.module.bootstrap.StartupContext context)
Specified by:
setStartupContext in interface com.sun.enterprise.module.bootstrap.ModuleStartup

start

public void start()
Specified by:
start in interface com.sun.enterprise.module.bootstrap.ModuleStartup

run

public void run()

printModuleStatus

public static void printModuleStatus(com.sun.enterprise.module.ModulesRegistry registry,
                                     Level level)

stop

public void stop()
Specified by:
stop in interface com.sun.enterprise.module.bootstrap.ModuleStartup


Copyright © 2012. All Rights Reserved.