@EnableAspectJAutoProxy public class DefaultCrane4jSpringConfiguration extends Object implements org.springframework.beans.factory.SmartInitializingSingleton
| 构造器和说明 |
|---|
DefaultCrane4jSpringConfiguration() |
@Bean public NamedComponentAliasProcessor namedComponentAliasProcessor()
@Bean public ClassScanner classScanner()
@Bean public SpringConverterManager springConverterManager()
@Primary @Bean public Crane4jApplicationContext crane4jApplicationContext(org.springframework.context.ApplicationContext applicationContext)
@Bean public ScannedContainerRegistrar scannedContainerRegister()
@Bean public PropertyOperator propertyOperator(ConverterManager converterManager)
@Bean public MergedAnnotationFinder mergedAnnotationFinder()
@Bean public SimpleTypeResolver simpleTypeResolver()
@Bean public SpelExpressionEvaluator spelExpressionEvaluator()
@Primary @Bean public MapCacheManager mapCacheManager()
@Bean public GuavaCacheManager guavaCacheManager()
@Order(value=0) @Bean public ContainerInstanceLifecycleProcessor containerInstanceLifecycleProcessor()
@Order(value=1) @Bean public ContainerRegisterLogger containerRegisterLogger()
@Order(value=3) @Bean public SpringCacheableContainerProcessor springCacheableContainerProcessor(Crane4jApplicationContext configuration)
@Bean public SimplePropertyMappingStrategyManager simplePropertyMappingStrategyManager(Collection<PropertyMappingStrategy> propertyMappingStrategies)
@Bean public OverwriteNotNullMappingStrategy overwriteNotNullMappingStrategy()
@Bean public OverwriteMappingStrategy overwriteMappingStrategy()
@Bean public ReferenceMappingStrategy referenceMappingStrategy(PropertyOperator propertyOperator)
@Bean public org.springframework.context.expression.BeanFactoryResolver beanFactoryResolver(org.springframework.context.ApplicationContext applicationContext)
@Bean public ValueResolveAssembleAnnotationHandler valueResolveAssembleAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration configuration, ExpressionEvaluator evaluator, org.springframework.expression.BeanResolver beanResolver, PropertyMappingStrategyManager propertyMappingStrategyManager)
@Bean public BeanAwareAssembleMethodAnnotationHandler beanAwareAssembleMethodAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration globalConfiguration, Collection<MethodContainerFactory> methodContainerFactories, PropertyMappingStrategyManager propertyMappingStrategyManager, org.springframework.context.ApplicationContext applicationContext)
@Bean public AssembleEnumAnnotationHandler assembleEnumAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration globalConfiguration, PropertyOperator propertyOperator, PropertyMappingStrategyManager propertyMappingStrategyManager)
@Bean public AssembleConstantAnnotationHandler assembleConstantAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration configuration, PropertyMappingStrategyManager propertyMappingStrategyManager)
@Bean public AssembleKeyAnnotationHandler assembleKeyAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration configuration, PropertyMappingStrategyManager propertyMappingStrategyManager, @Nullable Map<String,AssembleKeyAnnotationHandler.ValueMapperProvider> providers)
@Bean public DisassembleAnnotationHandler disassembleAnnotationOperationsHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration configuration)
@Bean public ConditionOnExpressionParser conditionOnExpressionParser(AnnotationFinder annotationFinder, ExpressionEvaluator expressionEvaluator, org.springframework.context.expression.BeanFactoryResolver beanFactoryResolver)
@Bean public ConditionOnPropertyNotNullParser conditionOnPropertyNotNullParser(AnnotationFinder annotationFinder, PropertyOperator propertyOperator)
@Bean public ConditionOnPropertyNotEmptyParser conditionOnPropertyNotEmptyParser(AnnotationFinder annotationFinder, PropertyOperator propertyOperator)
@Bean public ConditionOnPropertyParser conditionOnPropertyParser(AnnotationFinder annotationFinder, PropertyOperator propertyOperator, ConverterManager converterManager)
@Bean public ConditionOnContainerParser conditionOnContainerParser(AnnotationFinder annotationFinder, ContainerManager containerManager)
@Bean public ConditionOnTargetTypeParser conditionOnTargetTypeParser(AnnotationFinder annotationFinder)
@Bean public ConditionalTypeHierarchyBeanOperationParser conditionalTypeHierarchyBeanOperationParser(Collection<OperationAnnotationHandler> handlers, Collection<ConditionParser> parsers)
@Primary @Bean public DisorderedBeanOperationExecutor disorderedBeanOperationExecutor(ContainerManager containerManager)
@Bean public AsyncBeanOperationExecutor asyncBeanOperationExecutor(ContainerManager containerManager)
@Bean public OrderedBeanOperationExecutor orderedBeanOperationExecutor(ContainerManager containerManager)
@Bean public MethodInvokerContainerCreator methodInvokerContainerCreator(PropertyOperator propertyOperator, ConverterManager converterManager)
@Bean public DefaultContainerAdapterRegister defaultContainerAdapterRegister()
@Order @Bean public DynamicContainerOperatorProxyMethodFactory dynamicContainerOperatorProxyMethodFactory(ConverterManager converterManager, ParameterNameFinder parameterNameFinder, AnnotationFinder annotationFinder, ContainerAdapterRegister containerAdapterRegister)
@Order @Bean public ParametersFillProxyMethodFactory parametersFillProxyMethodFactory(BeanOperationParser beanOperationParser)
@Order @Bean public ArgAutoOperateProxyMethodFactory argAutoOperateProxyMethodFactory(AutoOperateAnnotatedElementResolver elementResolver, MethodBasedExpressionEvaluator expressionExecuteDelegate, ParameterNameFinder parameterNameFinder, AnnotationFinder annotationFinder)
@Order(value=2147483646) @Bean public CacheableMethodContainerFactory cacheableMethodContainerFactory(Crane4jGlobalConfiguration configuration, MethodInvokerContainerCreator methodInvokerContainerCreator, AnnotationFinder annotationFinder)
@Primary @Bean public OneToOneAssembleOperationHandler oneToOneAssembleOperationHandler(PropertyOperator propertyOperator, ConverterManager converterManager)
@Bean public ManyToManyAssembleOperationHandler manyToManyAssembleOperationHandler(PropertyOperator propertyOperator, ConverterManager converterManager)
@Bean public OneToManyAssembleOperationHandler oneToManyAssembleOperationHandler(PropertyOperator propertyOperator, ConverterManager converterManager)
@Primary @Bean public ReflectiveDisassembleOperationHandler reflectiveDisassembleOperationHandler(PropertyOperator propertyOperator)
@Bean public OperationAnnotationProxyMethodFactory operationAnnotationProxyMethodFactory(ConverterManager converterManager)
@Bean public OperatorProxyFactory operatorProxyFactory(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration configuration, Collection<OperatorProxyMethodFactory> factories)
@Bean public OperateTemplate operateTemplate(BeanOperationParser parser, BeanOperationExecutor executor, TypeResolver typeResolver)
@Bean public SpringParameterNameFinder springParameterNameFinder()
@Bean public MethodBasedAutoOperateAnnotatedElementResolver methodBasedAutoOperateAnnotatedElementResolver(Crane4jGlobalConfiguration crane4jGlobalConfiguration, TypeResolver typeResolver)
@Bean public ClassBasedAutoOperateAnnotatedElementResolver classBasedAutoOperateAnnotatedElementResolver(Crane4jGlobalConfiguration crane4jGlobalConfiguration, ExpressionEvaluator expressionEvaluator)
@Primary @Bean public ComposableAutoOperateAnnotatedElementResolver composableAutoOperateAnnotatedElementResolver(Collection<AutoOperateAnnotatedElementResolver> autoOperateAnnotatedElementResolvers)
@Bean public MethodBasedExpressionEvaluator methodBaseExpressionEvaluator(ExpressionEvaluator expressionEvaluator, ParameterNameFinder parameterNameFinder, org.springframework.expression.BeanResolver beanResolver)
@Bean public MethodResultAutoOperateAdvisor methodResultAutoOperateAdvisor(AutoOperateAnnotatedElementResolver autoOperateAnnotatedElementResolver, MethodBasedExpressionEvaluator methodBasedExpressionEvaluator)
@Bean public MethodArgumentAutoOperateAdvisor methodArgumentAutoOperateAdvisor(MethodBasedExpressionEvaluator methodBasedExpressionEvaluator, AutoOperateAnnotatedElementResolver autoOperateAnnotatedElementResolver, ParameterNameFinder parameterNameDiscoverer, AnnotationFinder annotationFinder)
@Bean public BeanMethodContainerRegistrar beanMethodContainerRegistrar(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration configuration)
public void afterSingletonsInstantiated()
ListableBeanFactory.getBeansOfType(java.lang.Class<T>) calls within
this method won't trigger accidental side effects during bootstrap.
NOTE: This callback won't be triggered for singleton beans
lazily initialized on demand after BeanFactory bootstrap,
and not for any other bean scope either. Carefully use it for beans
with the intended bootstrap semantics only.
afterSingletonsInstantiated 在接口中 org.springframework.beans.factory.SmartInitializingSingletonCopyright © 2024. All rights reserved.