public class AssembleConstantAnnotationHandler extends AbstractInternalProviderAssembleAnnotationHandler<AssembleConstant>
AbstractStandardAssembleAnnotationHandler implementation for AssembleConstant annotation.AssembleConstantAbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<A extends Annotation>, AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotationAdapter<A extends Annotation>AbstractStandardOperationAnnotationHandler.StandardAnnotation<A>, AbstractStandardOperationAnnotationHandler.StandardAnnotationAdapter<A extends Annotation>INTERNAL_PROVIDER_SUFFIX, internalContainerProviderglobalConfigurationannotationFinder, annotationType, operationComparator| 构造器和说明 |
|---|
AssembleConstantAnnotationHandler(AnnotationFinder annotationFinder,
Comparator<KeyTriggerOperation> operationComparator,
Crane4jGlobalConfiguration globalConfiguration,
PropertyMappingStrategyManager propertyMappingStrategyManager)
Create an
AbstractStandardAssembleAnnotationHandler instance. |
AssembleConstantAnnotationHandler(AnnotationFinder annotationFinder,
Crane4jGlobalConfiguration globalConfiguration,
PropertyMappingStrategyManager propertyMappingStrategyManager)
Create an
AbstractStandardAssembleAnnotationHandler instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected @NonNull Container<Object> |
createContainer(AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleConstant> standardAnnotation,
String namespace)
Create container by given annotation and namespace.
|
protected String |
determineNamespace(AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleConstant> standardAnnotation)
Get the namespace from annotation.
|
protected AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleConstant> |
getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
AssembleConstant annotation)
Get
StandardAssembleAnnotation. |
protected Set<PropertyMapping> |
parsePropertyMappings(AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleConstant> standardAnnotation,
String key)
Get property mapping from given
StandardAssembleAnnotation. |
createInternalContainerProvider, getContainerNamespace, getInternalContainerProviderNamecreateOperation, determineKeyResolver, doResolve, parseAssembleOperationHandler, parseKeyType, parsePropToMapping, parserPropertyMappingStrategyparseAnnotationForClass, parseAnnotationForElement, parseAnnotationForFields, parseAnnotationForMethods, parseGroups, parseId, parseKey, parseSort, resolvepublic AssembleConstantAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration globalConfiguration, PropertyMappingStrategyManager propertyMappingStrategyManager)
AbstractStandardAssembleAnnotationHandler instance.annotationFinder - annotation finderglobalConfiguration - globalConfigurationpropertyMappingStrategyManager - property mapping strategy managerpublic AssembleConstantAnnotationHandler(AnnotationFinder annotationFinder, Comparator<KeyTriggerOperation> operationComparator, Crane4jGlobalConfiguration globalConfiguration, PropertyMappingStrategyManager propertyMappingStrategyManager)
AbstractStandardAssembleAnnotationHandler instance.annotationFinder - annotation finderoperationComparator - operation comparatorglobalConfiguration - globalConfigurationpropertyMappingStrategyManager - property mapping strategy managerprotected @NonNull Container<Object> createContainer(AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleConstant> standardAnnotation, String namespace)
createContainer 在类中 AbstractInternalProviderAssembleAnnotationHandler<AssembleConstant>standardAnnotation - standard annotationnamespace - namespaceContainer instantprotected String determineNamespace(AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleConstant> standardAnnotation)
determineNamespace 在类中 AbstractInternalProviderAssembleAnnotationHandler<AssembleConstant>standardAnnotation - standard annotationprotected AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleConstant> getStandardAnnotation(BeanOperations beanOperations, AnnotatedElement element, AssembleConstant annotation)
StandardAssembleAnnotation.getStandardAnnotation 在类中 AbstractStandardAssembleAnnotationHandler<AssembleConstant>beanOperations - bean operationselement - elementannotation - annotationStandardAssembleAnnotation instanceprotected Set<PropertyMapping> parsePropertyMappings(AbstractStandardAssembleAnnotationHandler.StandardAssembleAnnotation<AssembleConstant> standardAnnotation, String key)
StandardAssembleAnnotation.parsePropertyMappings 在类中 AbstractStandardAssembleAnnotationHandler<AssembleConstant>standardAnnotation - standard annotationkey - keyCopyright © 2024. All rights reserved.