public class Configurator extends 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(Class<? extends Task> taskClass)
Returns the module for the
Configurator. |
void |
main(Class<? extends Task> taskClass,
String filename)
Starts the
Configurator with the specified task class and the
file to be loaded. |
static void |
main(String[] args)
Starts the
Configurator. |
void |
start(String[] args)
Starts the
Configurator. |
public static void main(String[] args) throws Exception
Configurator.args - specify one or more input configuration files to be loadedExceptionpublic void start(String[] args) throws ClassNotFoundException
Configurator.args - the input configuration files to be loadedClassNotFoundExceptionpublic com.google.inject.Module getModule(Class<? extends Task> taskClass)
Configurator.taskClass - the task classpublic void main(Class<? extends Task> taskClass, 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