public class SpelDnValueMutator extends java.lang.Object implements DnValueMutator
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.expression.EvaluationContext |
evaluationContext
Evaluation context.
|
private org.springframework.expression.Expression |
expression
SPEL expression to access the DN.
|
protected org.slf4j.Logger |
logger
Logger for this class.
|
| Constructor and Description |
|---|
SpelDnValueMutator(org.springframework.expression.Expression exp,
org.springframework.expression.EvaluationContext context)
Creates a new spel dn value mutator.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue(java.lang.Object object)
Returns the DN value for the supplied object.
|
void |
setValue(java.lang.Object object,
java.lang.String value)
Set the DN value for the supplied object.
|
java.lang.String |
toString() |
protected final org.slf4j.Logger logger
private final org.springframework.expression.Expression expression
private final org.springframework.expression.EvaluationContext evaluationContext
public SpelDnValueMutator(org.springframework.expression.Expression exp,
org.springframework.expression.EvaluationContext context)
exp - to access the DNcontext - containing the DNpublic java.lang.String getValue(java.lang.Object object)
DnValueMutatorgetValue in interface DnValueMutatorobject - to return the DN ofpublic void setValue(java.lang.Object object,
java.lang.String value)
DnValueMutatorsetValue in interface DnValueMutatorobject - to set the DN onvalue - of the DNpublic java.lang.String toString()
toString in class java.lang.Object