ContainerLifecycleProcessor from spring context.Container interface with the current context.AssembleMethodAnnotationHandler implementation,
support find target bean from ApplicationContext.AssembleMethodAnnotationHandler instance.ContainerMethod annotation in the class or method of class,
and adapt it to Container instance
according to MethodContainerFactory registered in the Spring context.BeanMethodContainerRegistrar instance.ResourcePatternResolver and MetadataReaderFactory
that scans all classes under the specified package.ClassScanner instance.ComponentTypeScan
as a meta-annotation can provide some scanning configuration,
from which ContainerResolveUtils.resolveComponentTypesFromMetadata(org.springframework.core.annotation.AnnotationAttributes, cn.crane4j.extension.spring.scanner.ClassScanner, org.springframework.util.StringValueResolver) can obtain
the type of Crane4j component that needs to be parsed.namespace.ApplicationContext held.ContainerProvider by given name.ConverterManagerContainerConstant.ContainerEnum.MethodResultAutoOperateSupport instanceFactoryBean of operator interface proxy object.@Configuration class.ResolvableExpressionEvaluator instance.ContainerConstant.ContainerEnum.ContainerConstantScan and ContainerEnumScan.StandardEvaluationContext.SpelExpressionContextSpelExpressionContextSpelExpressionContextExpressionEvaluator implementation based on spring SpEL.CacheableContainerProcessor implementation
which support process spring annotation and bean proxy.ConverterManager implementation based on Spring's ConversionService.ParameterNameFinder implementation based on Spring's ParameterNameDiscoverer.AssembleAnnotationHandler,
On the basis of the former, some spring annotations are additionally supported.Copyright © 2024. All rights reserved.