org.onebusaway.cli
Class DaemonizerMain

java.lang.Object
  extended by 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

Constructor Summary
DaemonizerMain()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaemonizerMain

public DaemonizerMain()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2011 OneBusAway. All Rights Reserved.