Class DubboDefaultPropertiesEnvironmentPostProcessor

java.lang.Object
org.apache.dubbo.spring.boot.env.DubboDefaultPropertiesEnvironmentPostProcessor
All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered

public class DubboDefaultPropertiesEnvironmentPostProcessor extends Object implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered
The lowest precedence EnvironmentPostProcessor processes Spring Boot default properties for Dubbo as late as possible before application context refresh.
  • Field Details

    • PROPERTY_SOURCE_NAME

      public static final String PROPERTY_SOURCE_NAME
      The name of default PropertySource defined in SpringApplication#configurePropertySources method.
      See Also:
    • ALLOW_BEAN_DEFINITION_OVERRIDING_PROPERTY

      public static final String ALLOW_BEAN_DEFINITION_OVERRIDING_PROPERTY
      The property name of "spring.main.allow-bean-definition-overriding". Please refer to: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.1-Release-Notes#bean-overriding
      See Also:
    • DUBBO_THREAD_POOL_PROPERTY

      public static final String DUBBO_THREAD_POOL_PROPERTY
      See Also:
    • VIRTUAL_THREAD

      public static final String VIRTUAL_THREAD
      See Also:
    • SPRING_THREAD_POOL_PROPERTY

      public static final String SPRING_THREAD_POOL_PROPERTY
      See Also:
  • Constructor Details

    • DubboDefaultPropertiesEnvironmentPostProcessor

      public DubboDefaultPropertiesEnvironmentPostProcessor()
  • 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
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered