Package org.springframework.boot

Examples of org.springframework.boot.ApplicationPid


   * Initialize the logging system according to preferences expressed through the
   * {@link Environment} and the classpath.
   */
  protected void initialize(ConfigurableEnvironment environment, ClassLoader classLoader) {
    if (System.getProperty("PID") == null) {
      System.setProperty("PID", new ApplicationPid().toString());
    }
    initializeEarlyLoggingLevel(environment);
    LoggingSystem system = LoggingSystem.get(classLoader);
    initializeSystem(environment, system);
    initializeFinalLoggingLevels(environment, system);
View Full Code Here


        if (override != null) {
          pidFile = new File(override);
        }
      }
    }
    new ApplicationPid().write(pidFile);
    pidFile.deleteOnExit();
  }
View Full Code Here

TOP

Related Classes of org.springframework.boot.ApplicationPid

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.