public class AssembleAnnotationHandler extends AbstractStandardAssembleAnnotationHandler<Assemble>
Annotation-based OperationAnnotationHandler implementation
that the construction of operation configuration
by resolving annotations based on Assemble on classes and attributes.
AssembleAbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<A extends Annotation>, AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotationAdapter<A extends Annotation>AbstractStandardOperationAnnotationHandler.StandardAnnotation<A>, AbstractStandardOperationAnnotationHandler.StandardAnnotationAdapter<A extends Annotation>globalConfigurationannotationFinder, annotationType, operationComparator| 构造器和说明 |
|---|
AssembleAnnotationHandler(AnnotationFinder annotationFinder,
Crane4jGlobalConfiguration globalConfiguration,
Comparator<KeyTriggerOperation> operationComparator,
PropertyMappingStrategyManager propertyMappingStrategyManager)
Create a
AssembleAnnotationHandler instance. |
AssembleAnnotationHandler(AnnotationFinder annotationFinder,
Crane4jGlobalConfiguration globalConfiguration,
PropertyMappingStrategyManager propertyMappingStrategyManager)
Create a
AssembleAnnotationHandler instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getContainerNamespace(AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<Assemble> standardAnnotation)
Get container from given
annotation. |
protected AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<Assemble> |
getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
Assemble annotation)
Get
StandardAssembleAnnotation. |
createOperation, determineKeyResolver, doResolve, parseAssembleOperationHandler, parseKeyType, parsePropertyMappings, parsePropToMapping, parserPropertyMappingStrategyparseAnnotationForClass, parseAnnotationForElement, parseAnnotationForFields, parseAnnotationForMethods, parseGroups, parseId, parseKey, parseSort, resolvepublic AssembleAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration globalConfiguration, Comparator<KeyTriggerOperation> operationComparator, PropertyMappingStrategyManager propertyMappingStrategyManager)
AssembleAnnotationHandler instance.annotationFinder - annotation finderglobalConfiguration - global configurationoperationComparator - operation comparatorpropertyMappingStrategyManager - property mapping strategy managerpublic AssembleAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration globalConfiguration, PropertyMappingStrategyManager propertyMappingStrategyManager)
Create a AssembleAnnotationHandler instance.
The order of operation configurations is Sorted.getSort() from small to large.
annotationFinder - annotation finderglobalConfiguration - global configurationpropertyMappingStrategyManager - property mapping strategy managerprotected String getContainerNamespace(AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<Assemble> standardAnnotation)
annotation.getContainerNamespace 在类中 AbstractStandardAssembleAnnotationHandler<Assemble>standardAnnotation - standard annotationContainerContainerManager.canonicalNamespace(java.lang.String, java.lang.String)protected AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<Assemble> getStandardAnnotation(BeanOperations beanOperations, AnnotatedElement element, Assemble annotation)
StandardAssembleAnnotation.getStandardAnnotation 在类中 AbstractStandardAssembleAnnotationHandler<Assemble>beanOperations - bean operationselement - elementannotation - annotationStandardAssembleAnnotation instanceCopyright © 2024. All rights reserved.