List of usage examples for org.springframework.boot SpringApplication getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.springframework.boot.context.initializer.LoggingApplicationContextInitializer.java
@Override public void initialize(SpringApplication springApplication, String[] args) { if (System.getProperty("PID") == null) { System.setProperty("PID", getPid()); }/*from w w w . j ava 2s . co m*/ LoggingSystem loggingSystem = LoggingSystem.get(springApplication.getClass().getClassLoader()); loggingSystem.beforeInitialize(); }