Class 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 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