Class Configurable

java.lang.Object
org.aoju.bus.starter.Configurable
All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor

@Order(2147483547) public class Configurable extends Object implements org.springframework.boot.env.EnvironmentPostProcessor
用于配置一些特殊的关键属性,比如bus-boot.version等, 将作为一个名为PropertiesPropertySource的属性源添加
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • Configurable

      public Configurable()
  • Method Details

    • postProcessEnvironment

      public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
      Specified by:
      postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessor
    • getProperties

      protected Properties getProperties()
      获取版本信息
      Returns:
      properties