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 void
setStartupContext(com.sun.enterprise.module.bootstrap.StartupContext startupContext)
void
start()
void
stop()
-
-
-
Method Detail
-
setStartupContext
public void setStartupContext(com.sun.enterprise.module.bootstrap.StartupContext startupContext)
- Specified by:
setStartupContext
in interfacecom.sun.enterprise.module.bootstrap.ModuleStartup
-
start
public void start()
- Specified by:
start
in interfacecom.sun.enterprise.module.bootstrap.ModuleStartup
-
stop
public void stop()
- Specified by:
stop
in interfacecom.sun.enterprise.module.bootstrap.ModuleStartup
-
-