org.onebusaway.cli
Class DaemonizerMain
java.lang.Object
org.onebusaway.cli.DaemonizerMain
public class DaemonizerMain
- extends Object
Convenience class for daemonizing an arbitrary Java main method. Simply call
the DaemonizerMain class as your main class and specify a -mainClass some.package.YourMainClass command line argument and an optional
-args "arg1 arg2" to specify command line arguments to your main
class and your target main class will automatically be daemonized.
- Author:
- bdferris
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DaemonizerMain
public DaemonizerMain()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011 OneBusAway. All Rights Reserved.