Package com.sun.enterprise.v3.server
Class UpgradeStartup
- java.lang.Object
-
- 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
Constructors Constructor Description UpgradeStartup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetStartupContext(com.sun.enterprise.module.bootstrap.StartupContext startupContext)voidstart()voidstop()
-
-
-
Method Detail
-
setStartupContext
public void setStartupContext(com.sun.enterprise.module.bootstrap.StartupContext startupContext)
- Specified by:
setStartupContextin interfacecom.sun.enterprise.module.bootstrap.ModuleStartup
-
start
public void start()
- Specified by:
startin interfacecom.sun.enterprise.module.bootstrap.ModuleStartup
-
stop
public void stop()
- Specified by:
stopin interfacecom.sun.enterprise.module.bootstrap.ModuleStartup
-
-