Class JettyConsoleStarter

  • All Implemented Interfaces:
    org.simplericity.macify.eawt.ApplicationListener

    public class JettyConsoleStarter
    extends org.simplericity.macify.eawt.ApplicationAdapter
    Wrapper for the JettyConsole that:
    • makes sure System.out and System are redirected before any output/logging is done
    • sets up capturing of the quit callbacks on Apply by way of reflection
    • Field Detail

      • jettyWorkDirectory

        public static File jettyWorkDirectory
    • Constructor Detail

      • JettyConsoleStarter

        public JettyConsoleStarter()
    • Method Detail

      • stop

        public static void stop()
      • handleQuit

        public void handleQuit​(org.simplericity.macify.eawt.ApplicationEvent event)
        Specified by:
        handleQuit in interface org.simplericity.macify.eawt.ApplicationListener
        Overrides:
        handleQuit in class org.simplericity.macify.eawt.ApplicationAdapter