@EnableAspectJAutoProxy public class DefaultCrane4jSpringConfiguration extends Object implements org.springframework.beans.factory.SmartInitializingSingleton
| 构造器和说明 |
|---|
DefaultCrane4jSpringConfiguration() |
@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()
@Bean public ConcurrentMapCacheManager concurrentMapCacheManager()
@Order(value=0) @Bean public ContainerInstanceLifecycleProcessor containerInstanceLifecycleProcessor()
@Order(value=1) @Bean public ContainerRegisterLogger containerRegisterLogger()
@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 DisassembleAnnotationHandler disassembleAnnotationOperationsHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration configuration)
@Bean public TypeHierarchyBeanOperationParser typeHierarchyBeanOperationParser(Collection<OperationAnnotationHandler> resolvers)
@Primary @Bean public DisorderedBeanOperationExecutor disorderedBeanOperationExecutor(ContainerManager containerManager)
@Bean public OrderedBeanOperationExecutor orderedBeanOperationExecutor(ContainerManager containerManager)
@Bean public MethodInvokerContainerCreator methodInvokerContainerCreator(PropertyOperator propertyOperator, ConverterManager converterManager)
@Bean public DefaultContainerAdapterRegister defaultContainerAdapterRegister()
@Order @Bean public DefaultMethodContainerFactory defaultMethodContainerFactory(MethodInvokerContainerCreator methodInvokerContainerCreator, AnnotationFinder annotationFinder)
@Order @Bean public DynamicContainerOperatorProxyMethodFactory dynamicContainerOperatorProxyMethodFactory(ConverterManager converterManager, ParameterNameFinder parameterNameFinder, AnnotationFinder annotationFinder, ContainerAdapterRegister containerAdapterRegister)
@Order(value=2147483646) @Bean public CacheableMethodContainerFactory cacheableMethodContainerFactory(CacheManager cacheManager, 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 DefaultOperatorProxyMethodFactory defaultProxyMethodFactory(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 ResolvableExpressionEvaluator resolvableExpressionEvaluator(ExpressionEvaluator expressionEvaluator, ParameterNameFinder parameterNameFinder, org.springframework.expression.BeanResolver beanResolver)
@Bean public MethodResultAutoOperateAdvisor methodResultAutoOperateAdvisor(AutoOperateAnnotatedElementResolver autoOperateAnnotatedElementResolver, ResolvableExpressionEvaluator resolvableExpressionEvaluator)
@Bean public MethodArgumentAutoOperateAdvisor methodArgumentAutoOperateAdvisor(MethodBaseExpressionExecuteDelegate methodBaseExpressionExecuteDelegate, AutoOperateAnnotatedElementResolver autoOperateAnnotatedElementResolver, ParameterNameFinder parameterNameDiscoverer, AnnotationFinder annotationFinder)
@Bean public BeanMethodContainerRegistrar beanMethodContainerRegistrar(AnnotationFinder annotationFinder, Collection<MethodContainerFactory> factories, 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 © 2023. All rights reserved.