public class MainMethodRunner
extends java.lang.Object
Launcher
s to call a main method. The class
containing the main method is loaded using the thread context class loader.Constructor and Description |
---|
MainMethodRunner(java.lang.String mainClass,
java.lang.String[] args)
Create a new
MainMethodRunner instance. |
Modifier and Type | Method and Description |
---|---|
void |
run() |
public MainMethodRunner(java.lang.String mainClass, java.lang.String[] args)
MainMethodRunner
instance.mainClass
- the main classargs
- incoming arguments