launch
Class AppContainer

java.lang.Object
  extended bylaunch.AppContainer
All Implemented Interfaces:
java.lang.Runnable

public class AppContainer
extends java.lang.Object
implements java.lang.Runnable

AppContainer.java - This class is a containted for a node application. It is given a class name and an array of Objects which represented arguments for the main method. This class creates a new thread and then uses AppLauncher to invoke the class.

Author:
Avi TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
AppContainer(java.lang.String classname, java.lang.Object[] args)
          Constructor for AppContainer Object, takes in the class name of the class to be invoked and an array of arguments.
 
Method Summary
 void run()
          Run method invoked to create a new Thread which will then invoke a class
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppContainer

public AppContainer(java.lang.String classname,
                    java.lang.Object[] args)
Constructor for AppContainer Object, takes in the class name of the class to be invoked and an array of arguments.

Parameters:
classname - The class name of the Class to be invoked
args - An array containing the arguments for the class' main method
Method Detail

run

public void run()
Run method invoked to create a new Thread which will then invoke a class

Specified by:
run in interface java.lang.Runnable