public class AssembleAnnotationHandler extends AbstractAssembleAnnotationHandler<Assemble>
Annotation-based OperationAnnotationHandler implementation
that the construction of operation configuration
by resolving annotations based on Assemble on classes and attributes.
AssembleAbstractAssembleAnnotationHandler.StandardAnnotation, AbstractAssembleAnnotationHandler.StandardAnnotationAdapterannotationFinder, annotationType, globalConfiguration, operationComparator| 构造器和说明 |
|---|
AssembleAnnotationHandler(AnnotationFinder annotationFinder,
Crane4jGlobalConfiguration globalConfiguration)
Create a
AssembleAnnotationHandler comparator. |
AssembleAnnotationHandler(AnnotationFinder annotationFinder,
Crane4jGlobalConfiguration globalConfiguration,
Comparator<KeyTriggerOperation> operationComparator)
Create a
AssembleAnnotationHandler comparator. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getContainerNamespace(Assemble annotation)
Get container from given
annotation. |
protected AbstractAssembleAnnotationHandler.StandardAnnotation |
getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
Assemble annotation)
Get
StandardAnnotation. |
createAssembleOperation, createAssembleOperation, parseAnnotationForClass, parseAnnotationForElement, parseAnnotationForFields, parseAssembleOperationHandler, parseGroups, parseKey, parsePropertyMappings, parseSort, resolvepublic AssembleAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration globalConfiguration, Comparator<KeyTriggerOperation> operationComparator)
AssembleAnnotationHandler comparator.annotationFinder - annotation finderglobalConfiguration - global configurationoperationComparator - operation comparatorpublic AssembleAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration globalConfiguration)
Create a AssembleAnnotationHandler comparator.
The order of operation configurations is Sorted.getSort() from small to large.
annotationFinder - annotation finderglobalConfiguration - global configurationprotected String getContainerNamespace(Assemble annotation)
annotation.getContainerNamespace 在类中 AbstractAssembleAnnotationHandler<Assemble>annotation - annotationContainerContainerManager.canonicalNamespace(java.lang.String, java.lang.String)protected AbstractAssembleAnnotationHandler.StandardAnnotation getStandardAnnotation(BeanOperations beanOperations, AnnotatedElement element, Assemble annotation)
StandardAnnotation.getStandardAnnotation 在类中 AbstractAssembleAnnotationHandler<Assemble>beanOperations - bean operationselement - elementannotation - annotationStandardAnnotation comparatorCopyright © 2023. All rights reserved.