public class Configurator
extends java.lang.Object
Configurator configures the modules and starts the specific
ApplicationFrame.ApplicationFrame| Constructor and Description |
|---|
Configurator() |
| Modifier and Type | Method and Description |
|---|---|
com.google.inject.Module |
getModule(java.lang.Class<? extends Task> taskClass)
Returns the module for the
Configurator. |
void |
main(java.lang.Class<? extends Task> taskClass,
java.lang.String filename)
Starts the
Configurator with the specified task class and the
file to be loaded. |
static void |
main(java.lang.String[] args)
Starts the
Configurator. |
void |
start(java.lang.String[] args)
Starts the
Configurator. |
public static void main(java.lang.String[] args)
throws java.lang.Exception
Configurator.args - specify one or more input configuration files to be loadedjava.lang.Exceptionpublic void start(java.lang.String[] args)
throws java.lang.ClassNotFoundException
Configurator.args - the input configuration files to be loadedjava.lang.ClassNotFoundExceptionpublic com.google.inject.Module getModule(java.lang.Class<? extends Task> taskClass)
Configurator.taskClass - the task classpublic void main(java.lang.Class<? extends Task> taskClass, java.lang.String filename)
Configurator with the specified task class and the
file to be loaded.taskClass - the task classfilename - the filename of the configuration file to be loaded