Class AbstractAnnotationBasedBeanRegistrar

    • Method Summary

      Modifier and Type Method Description
      protected abstract java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()  
      org.springframework.core.env.Environment getEnvironment()  
      protected abstract void registerBeanDefinitions​(java.lang.String channelName, java.lang.String beanName, org.springframework.core.annotation.AnnotationAttributes annotationAttributes, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)  
      void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)  
      void setEnvironment​(org.springframework.core.env.Environment environment)
      Set the Environment that this component runs in.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar

        registerBeanDefinitions
    • Constructor Detail

      • AbstractAnnotationBasedBeanRegistrar

        public AbstractAnnotationBasedBeanRegistrar()
    • Method Detail

      • setEnvironment

        public final void setEnvironment​(org.springframework.core.env.Environment environment)
        Set the Environment that this component runs in.
        Specified by:
        setEnvironment in interface org.springframework.context.EnvironmentAware
        Parameters:
        environment - the current Spring environment
      • getEnvironment

        public final org.springframework.core.env.Environment getEnvironment()
      • registerBeanDefinitions

        public void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata metadata,
                                            org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
        Specified by:
        registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
      • getAnnotationType

        protected abstract java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
      • registerBeanDefinitions

        protected abstract void registerBeanDefinitions​(java.lang.String channelName,
                                                        java.lang.String beanName,
                                                        org.springframework.core.annotation.AnnotationAttributes annotationAttributes,
                                                        org.springframework.beans.factory.support.BeanDefinitionRegistry registry)