public class SpringAnnotationAwareBeanOperationParser extends AnnotationAwareBeanOperationParser implements org.springframework.context.EmbeddedValueResolverAware
Extension implementation of SpringAnnotationAwareBeanOperationParser,
On the basis of the former, some spring annotations are additionally supported.
Order annotation priority;OrderANNOTATION_KEY_ATTRIBUTE, annotationFinder, globalConfiguration| 构造器和说明 |
|---|
SpringAnnotationAwareBeanOperationParser(AnnotationFinder annotationFinder,
Crane4jGlobalConfiguration globalConfiguration,
ExpressionEvaluator evaluator,
org.springframework.context.ApplicationContext applicationContext)
Create an operation parser that supports annotation configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected Container<?> |
getContainer(cn.crane4j.annotation.Assemble annotation)
Get container.
|
protected List<cn.crane4j.annotation.Assemble> |
parseAssembleAnnotations(Class<?> beanType)
Parse
Assemble annotations for class. |
protected List<cn.crane4j.annotation.Disassemble> |
parseDisassembleAnnotations(Class<?> beanType)
Parse
Disassemble annotations for class. |
void |
setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver)
Set the StringValueResolver to use for resolving embedded definition values.
|
public SpringAnnotationAwareBeanOperationParser(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration globalConfiguration, ExpressionEvaluator evaluator, org.springframework.context.ApplicationContext applicationContext)
Create an operation parser that supports annotation configuration.
The order of operation configurations is Order.value() or Sorted.getSort() from small to large.
annotationFinder - annotation finderglobalConfiguration - global configurationprotected Container<?> getContainer(cn.crane4j.annotation.Assemble annotation)
getContainer 在类中 AnnotationAwareBeanOperationParserannotation - annotationIllegalArgumentException - thrown when the container is nullprotected List<cn.crane4j.annotation.Assemble> parseAssembleAnnotations(Class<?> beanType)
Assemble annotations for class.parseAssembleAnnotations 在类中 AnnotationAwareBeanOperationParserbeanType - bean typeAssembleprotected List<cn.crane4j.annotation.Disassemble> parseDisassembleAnnotations(Class<?> beanType)
Disassemble annotations for class.parseDisassembleAnnotations 在类中 AnnotationAwareBeanOperationParserbeanType - bean typeDisassemblepublic void setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver)
setEmbeddedValueResolver 在接口中 org.springframework.context.EmbeddedValueResolverAwareresolver - resolverCopyright © 2023. All rights reserved.