@Autowired
private ApplicationArguments applicationArguments;
@Autowired
private ApplicationContext applicationContext;
main方法通过ApplicationArguments获取
vm可以通过System.getProperties()或 applicationContext.getEnvironment()
标签:applicationContext,SpringBoot,Autowired,vm,private,参数
From: https://www.cnblogs.com/Acaak/p/16805787.html