Version: 1.1.1

ca.ucalgary.util
Class SingletonApplication

java.lang.Object
  extended by ca.ucalgary.util.SingletonApplication

public class SingletonApplication
extends Object

Utility to launch a Java application if not running, or pass a new file for opening if the app is already open (per user). To use this class, call it as your main class, and pass the real main class name as the first argument. Subsequent arguments are passed to the real main class's main(argv) method.


Constructor Summary
SingletonApplication()
           
 
Method Summary
static void main(String[] args)
           
static void setArgumentListener(ArgumentListener al)
          This method should be called by the main() method of the target application.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingletonApplication

public SingletonApplication()
Method Detail

main

public static void main(String[] args)

setArgumentListener

public static void setArgumentListener(ArgumentListener al)
This method should be called by the main() method of the target application.


Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010