类 PropertyResolverConfig

java.lang.Object
com.sh.spring.configuration.PropertyResolverConfig
所有已实现的接口:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.EnvironmentAware

@Configuration public class PropertyResolverConfig extends Object implements org.springframework.context.EnvironmentAware, org.springframework.beans.factory.config.BeanFactoryPostProcessor
Description: 配置类,转化配置的属性文件,主要对对象属性的加密解密或特殊变量赋值 注意:系统本身没有初始化结束,仅spring boot加载结束 执行时机:BeanFactory标准初始化之后,所有的Bean定义已经被加载,但标准Bean的实例还没被创建(不包括BeanFactoryPostProcessor类型)
  • 构造器详细资料

    • PropertyResolverConfig

      public PropertyResolverConfig()
  • 方法详细资料

    • setEnvironment

      public void setEnvironment(org.springframework.core.env.Environment environment)
      指定者:
      setEnvironment 在接口中 org.springframework.context.EnvironmentAware
    • postProcessBeanFactory

      public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
      指定者:
      postProcessBeanFactory 在接口中 org.springframework.beans.factory.config.BeanFactoryPostProcessor
      抛出:
      org.springframework.beans.BeansException