类 AliyunBeanDefinitionRegistryPostProcessor
- java.lang.Object
-
- xin.manong.weapon.spring.boot.bean.AliyunBeanDefinitionRegistryPostProcessor
-
- 所有已实现的接口:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.config.BeanFactoryPostProcessor,org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor,org.springframework.context.ApplicationContextAware,org.springframework.context.EnvironmentAware
- 直接已知子类:
ONSConsumerDefinitionRegistryPostProcessor,ONSProducerDefinitionRegistryPostProcessor,OSSClientDefinitionRegistryPostProcessor,OTSClientDefinitionRegistryPostProcessor,OTSTunnelDefinitionRegistryPostProcessor,RedisClientDefinitionRegistryPostProcessor
public abstract class AliyunBeanDefinitionRegistryPostProcessor extends Object implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.EnvironmentAware, org.springframework.context.ApplicationContextAware
阿里云bean定义注册父类 完成阿里云秘钥绑定- 作者:
- frankcl
-
-
字段概要
字段 修饰符和类型 字段 说明 protected org.springframework.context.ApplicationContextapplicationContextprotected org.springframework.core.env.Environmentenvironment
-
构造器概要
构造器 构造器 说明 AliyunBeanDefinitionRegistryPostProcessor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected xin.manong.weapon.aliyun.secret.AliyunSecretbindAliyunSecret()根据配置绑定阿里云秘钥voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetEnvironment(org.springframework.core.env.Environment environment)
-
-
-
方法详细资料
-
bindAliyunSecret
protected xin.manong.weapon.aliyun.secret.AliyunSecret bindAliyunSecret()
根据配置绑定阿里云秘钥- 返回:
- 阿里云秘钥
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory) throws org.springframework.beans.BeansException- 指定者:
postProcessBeanFactory在接口中org.springframework.beans.factory.config.BeanFactoryPostProcessor- 抛出:
org.springframework.beans.BeansException
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- 指定者:
setApplicationContext在接口中org.springframework.context.ApplicationContextAware- 抛出:
org.springframework.beans.BeansException
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- 指定者:
setEnvironment在接口中org.springframework.context.EnvironmentAware
-
-