类 NacosDefaultPropertySourceEnvironmentPostProcessor

  • 所有已实现的接口:
    org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered

    @Deprecated
    public class NacosDefaultPropertySourceEnvironmentPostProcessor
    extends java.lang.Object
    implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered
    已过时。
    A lowest precedence EnvironmentPostProcessor implementation to append Nacos default PropertySource with lowest order in Environment.
    从以下版本开始:
    0.2.2
    作者:
    Mercy
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      private static java.lang.String FILE_ENCODING
      已过时。
       
      static java.lang.String PROPERTY_SOURCE_NAME
      已过时。
      The name of Nacos default PropertySource.
      static java.lang.String RESOURCE_LOCATION_PATTERN
      已过时。
      The resource location pattern of Nacos default PropertySource.
      • 从接口继承的字段 org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • 方法概要

      所有方法 实例方法 具体方法 已过时的方法 
      修饰符和类型 方法 说明
      private void appendPropertySource​(org.springframework.core.env.CompositePropertySource propertySource, org.springframework.core.io.ResourceLoader resourceLoader)
      已过时。
       
      private org.springframework.core.env.PropertySource buildPropertySource​(org.springframework.core.io.ResourceLoader resourceLoader)
      已过时。
       
      int getOrder()
      已过时。
       
      private org.springframework.core.io.ResourceLoader getResourceLoader​(org.springframework.boot.SpringApplication application)
      已过时。
       
      void postProcessEnvironment​(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
      已过时。
       
      private void processPropertySource​(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.core.io.ResourceLoader resourceLoader)
      已过时。
       
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • PROPERTY_SOURCE_NAME

        public static final java.lang.String PROPERTY_SOURCE_NAME
        已过时。
        The name of Nacos default PropertySource.
        另请参阅:
        常量字段值
      • RESOURCE_LOCATION_PATTERN

        public static final java.lang.String RESOURCE_LOCATION_PATTERN
        已过时。
        The resource location pattern of Nacos default PropertySource.
        另请参阅:
        ResourcePatternResolver.CLASSPATH_ALL_URL_PREFIX, 常量字段值
      • FILE_ENCODING

        private static final java.lang.String FILE_ENCODING
        已过时。
        另请参阅:
        常量字段值
    • 构造器详细资料

      • NacosDefaultPropertySourceEnvironmentPostProcessor

        public NacosDefaultPropertySourceEnvironmentPostProcessor()
        已过时。
    • 方法详细资料

      • postProcessEnvironment

        public void postProcessEnvironment​(org.springframework.core.env.ConfigurableEnvironment environment,
                                           org.springframework.boot.SpringApplication application)
        已过时。
        指定者:
        postProcessEnvironment 在接口中 org.springframework.boot.env.EnvironmentPostProcessor
      • getResourceLoader

        private org.springframework.core.io.ResourceLoader getResourceLoader​(org.springframework.boot.SpringApplication application)
        已过时。
      • processPropertySource

        private void processPropertySource​(org.springframework.core.env.ConfigurableEnvironment environment,
                                           org.springframework.core.io.ResourceLoader resourceLoader)
        已过时。
      • buildPropertySource

        private org.springframework.core.env.PropertySource buildPropertySource​(org.springframework.core.io.ResourceLoader resourceLoader)
                                                                         throws java.io.IOException
        已过时。
        抛出:
        java.io.IOException
      • appendPropertySource

        private void appendPropertySource​(org.springframework.core.env.CompositePropertySource propertySource,
                                          org.springframework.core.io.ResourceLoader resourceLoader)
                                   throws java.io.IOException
        已过时。
        抛出:
        java.io.IOException
      • getOrder

        public int getOrder()
        已过时。
        指定者:
        getOrder 在接口中 org.springframework.core.Ordered