类 MainMethodRunner
- java.lang.Object
 - org.springframework.boot.loader.MainMethodRunner
 
public class MainMethodRunner extends Object
Utility class that is used byLaunchers to call a main method. The class containing the main method is loaded using the thread context class loader.
构造器详细资料
MainMethodRunner
public MainMethodRunner(String mainClass, String[] args)
Create a newMainMethodRunnerinstance.- 参数:
 mainClass- the main classargs- incoming arguments