Class ConsoleAvailabilityService

    • Method Detail

      • start

        public void start​(org.jboss.msc.service.StartContext context)
                   throws org.jboss.msc.service.StartException
        Specified by:
        start in interface org.jboss.msc.Service
        Throws:
        org.jboss.msc.service.StartException
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service
      • isAvailable

        public boolean isAvailable()
        Gets the availability of the web console.
        Specified by:
        isAvailable in interface ConsoleAvailability
        Returns:
        Whether the console is available at this moment.
      • setAvailable

        public void setAvailable()
        Tries to make the console available. The console will be available only if the process controller is not stopping.
        Specified by:
        setAvailable in interface ConsoleAvailability