com.sun.enterprise.v3.server
Class UpgradeStartup

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

@Service(name="upgrade")
public class UpgradeStartup
extends Object
implements com.sun.enterprise.module.bootstrap.ModuleStartup

Very simple ModuleStartup that basically force an immediate shutdown. When start() is invoked, the upgrade of the domain.xml has already been performed.

Author:
Jerome Dochez

Constructor Summary
UpgradeStartup()
           
 
Method Summary
 void setStartupContext(com.sun.enterprise.module.bootstrap.StartupContext startupContext)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeStartup

public UpgradeStartup()
Method Detail

setStartupContext

public void setStartupContext(com.sun.enterprise.module.bootstrap.StartupContext startupContext)
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

stop

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


Copyright © 2012. All Rights Reserved.