org.springframework.boot.context.properties

Class ConfigurationBeanFactoryMetadata

  • java.lang.Object
    • org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata
  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    Deprecated. 
    since 2.2.0 in favor of ConfigurationPropertiesBean

    @Deprecated
    public class ConfigurationBeanFactoryMetadata
    extends Object
    implements org.springframework.context.ApplicationContextAware
    Utility class to memorize @Bean definition metadata during initialization of the bean factory.
    Since:
    1.1.0
    Author:
    Dave Syer
    • Field Detail

      • BEAN_NAME

        public static final String BEAN_NAME
        Deprecated. 
        The bean name that this class is registered with.
    • Constructor Detail

      • ConfigurationBeanFactoryMetadata

        public ConfigurationBeanFactoryMetadata()
        Deprecated. 
    • Method Detail

      • findFactoryAnnotation

        public <A extends Annotation> A findFactoryAnnotation(String beanName,
                                                              Class<A> type)
        Deprecated. 
      • findFactoryMethod

        public Method findFactoryMethod(String beanName)
        Deprecated. 
      • setApplicationContext

        public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Deprecated. 
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException

Copyright © 2020 Pivotal Software, Inc.. All rights reserved.