public class BeanAwareAssembleMethodAnnotationHandler extends AssembleMethodAnnotationHandler
AssembleMethodAnnotationHandler implementation,
support find target bean from ApplicationContext.ApplicationContextAssembleMethodAnnotationHandler.CacheableContainerMethodResolver, AssembleMethodAnnotationHandler.ContainerMethodResolverAbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<A extends Annotation>, AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotationAdapter<A extends Annotation>AbstractStandardOperationAnnotationHandler.StandardAnnotation<A>, AbstractStandardOperationAnnotationHandler.StandardAnnotationAdapter<A extends Annotation>containerMethodResolverINTERNAL_PROVIDER_SUFFIX, internalContainerProviderglobalConfigurationannotationFinder, annotationType, operationComparator| 构造器和说明 |
|---|
BeanAwareAssembleMethodAnnotationHandler(AnnotationFinder annotationFinder,
Crane4jGlobalConfiguration globalConfiguration,
Collection<MethodContainerFactory> methodContainerFactories,
org.springframework.context.ApplicationContext applicationContext,
PropertyMappingStrategyManager propertyMappingStrategyManager)
Create an
AssembleMethodAnnotationHandler instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected @Nullable Object |
getTargetInstance(Class<?> targetType,
cn.crane4j.annotation.AssembleMethod annotation)
Get target by given type and annotation.
|
protected @NonNull Class<?> |
resolveTargetType(cn.crane4j.annotation.AssembleMethod annotation)
Resolve target type.
|
createContainer, createContainerMethodResolver, determineNamespace, getStandardAnnotationcreateInternalContainerProvider, getContainerNamespace, getInternalContainerProviderNamecreateOperation, determineKeyResolver, doResolve, parseAssembleOperationHandler, parseKeyType, parsePropertyMappings, parsePropToMapping, parserPropertyMappingStrategyparseAnnotationForClass, parseAnnotationForElement, parseAnnotationForFields, parseAnnotationForMethods, parseGroups, parseId, parseKey, parseSort, resolve, setOperationComparatorpublic BeanAwareAssembleMethodAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration globalConfiguration, Collection<MethodContainerFactory> methodContainerFactories, org.springframework.context.ApplicationContext applicationContext, PropertyMappingStrategyManager propertyMappingStrategyManager)
AssembleMethodAnnotationHandler instance.annotationFinder - annotation finderglobalConfiguration - global configurationmethodContainerFactories - method container factoriesapplicationContext - application contextpropertyMappingStrategyManager - property mapping strategy managerprotected @NonNull Class<?> resolveTargetType(cn.crane4j.annotation.AssembleMethod annotation)
resolveTargetType 在类中 AssembleMethodAnnotationHandlerannotation - annotationprotected @Nullable Object getTargetInstance(Class<?> targetType, cn.crane4j.annotation.AssembleMethod annotation)
getTargetInstance 在类中 AssembleMethodAnnotationHandlertargetType - target typeannotation - annotationCopyright © 2024. All rights reserved.