Package io.microsphere.spring.beans.factory.annotation
-
Class Summary Class Description AnnotatedInjectionBeanPostProcessor ABeanPostProcessor
implementation that provides dependency injection support for custom annotation types.AnnotatedInjectionBeanPostProcessor.AnnotationInjectedElement<M extends java.lang.reflect.Member> AnnotationInjectionMetadata.InjectedElement
AnnotatedInjectionPointDependencyResolver<A extends java.lang.annotation.Annotation> AbstractInjectionPointDependencyResolver
for annotated elementAnnotationBeanDefinitionRegistryPostProcessor An abstract class for the extension toBeanDefinitionRegistryPostProcessor
, which will execute two main registration methods orderly:AnnotationBeanDefinitionRegistryPostProcessor.registerPrimaryBeanDefinitions(ExposingClassPathBeanDefinitionScanner, String[])
: Scan and register the primaryBeanDefinitions
that were annotated bythe supported annotation types
, and then return theMap
with bean name plus aliases if present and primaryAnnotatedBeanDefinitions
, it's allowed to be overrideAnnotationBeanDefinitionRegistryPostProcessor.registerSecondaryBeanDefinitions(ExposingClassPathBeanDefinitionScanner, Map, String[])
: it's mandatory to be override by the sub-class to register secondaryBeanDefinitions
if requiredAutowiredInjectionPointDependencyResolver AnnotatedInjectionPointDependencyResolver
forAutowired
ConfigurationBeanBindingPostProcessor ABeanPostProcessor
implementation that binds configuration beans with their corresponding properties.ConfigurationBeanBindingRegistrar A registrar for registering@EnableConfigurationBeanBinding
-annotated bean definitions.ConfigurationBeanBindingsRegister TheRegistrar class
forEnableConfigurationBeanBindings
ResourceInjectionPointDependencyResolver AnnotatedInjectionPointDependencyResolver
forResource
-
Annotation Types Summary Annotation Type Description EnableConfigurationBeanBinding Enables Spring's annotation-driven configuration bean fromproperties
.EnableConfigurationBeanBindings A container annotation that holds multipleEnableConfigurationBeanBinding
annotations.