org.simplericity.jettyconsole
Class JettyConsoleStarter
java.lang.Object
org.simplericity.macify.eawt.ApplicationAdapter
org.simplericity.jettyconsole.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
| Methods inherited from class org.simplericity.macify.eawt.ApplicationAdapter |
handleAbout, handleOpenApplication, handleOpenFile, handlePreferences, handlePrintFile, handleReOpenApplication |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyConsoleStarter
public JettyConsoleStarter()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
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
getSettings
public Properties getSettings()
Copyright © 2012. All Rights Reserved.