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 for removal in 2.4.0 in favor of ConfigurationPropertiesBean

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

      Fields 
      Modifier and Type Field and Description
      static java.lang.String BEAN_NAME
      Deprecated. 
      The bean name that this class is registered with.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      <A extends java.lang.annotation.Annotation>
      A
      findFactoryAnnotation(java.lang.String beanName, java.lang.Class<A> type)
      Deprecated. 
       
      java.lang.reflect.Method findFactoryMethod(java.lang.String beanName)
      Deprecated. 
       
      <A extends java.lang.annotation.Annotation>
      java.util.Map<java.lang.String,java.lang.Object>
      getBeansWithFactoryAnnotation(java.lang.Class<A> type)
      Deprecated. 
       
      void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Deprecated. 
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BEAN_NAME

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

      • ConfigurationBeanFactoryMetadata

        public ConfigurationBeanFactoryMetadata()
        Deprecated. 
    • Method Detail

      • getBeansWithFactoryAnnotation

        public <A extends java.lang.annotation.Annotation> java.util.Map<java.lang.String,java.lang.Object> getBeansWithFactoryAnnotation(java.lang.Class<A> type)
        Deprecated. 
      • findFactoryAnnotation

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

        public java.lang.reflect.Method findFactoryMethod(java.lang.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