public class SpringClassDescriptor extends AbstractClassDescriptor
EvaluationContext
with SPEL expressions to find property
values.AbstractClassDescriptor.SimpleAttributeValueMutator, AbstractClassDescriptor.SimpleDnValueMutator
Modifier and Type | Field and Description |
---|---|
private org.springframework.expression.EvaluationContext |
evaluationContext
Context for evaluating spring expressions.
|
logger
Constructor and Description |
---|
SpringClassDescriptor(org.springframework.expression.EvaluationContext context)
Creates a new spring class descriptor.
|
Modifier and Type | Method and Description |
---|---|
protected DnValueMutator |
createDnValueMutator(String dnProperty)
Creates a dn value mutator for the supplied SPEL dn property expression.
|
void |
initialize(Class<?> type)
Prepare this class descriptor for use.
|
addAttributeValueMutator, addAttributeValueMutator, getAttributeValueMutator, getAttributeValueMutators, getDnValueMutator, setDnValueMutator, toString
private final org.springframework.expression.EvaluationContext evaluationContext
public SpringClassDescriptor(org.springframework.expression.EvaluationContext context)
context
- to use for SPEL evaluationpublic void initialize(Class<?> type)
ClassDescriptor
type
- of object to describeprotected DnValueMutator createDnValueMutator(String dnProperty)
dnProperty
- SPEL expressionSpelDnValueMutator
if dnProperty can be parsed. Otherwise returns simple dn value mutatorCopyright © 2003-2019 Virginia Tech. All Rights Reserved.