open class EnvironmentAccessor : PropertyAccessor
Read-only EL property accessor that knows how to retrieve keys of a Spring Environment instance.
Author
Chris Beams
Since
3.1
EnvironmentAccessor()
Read-only EL property accessor that knows how to retrieve keys of a Spring Environment instance. |
open fun canRead(context: EvaluationContext, target: Any, name: String): Boolean
Can read any Environment, thus always returns true. |
|
open fun canWrite(context: EvaluationContext, target: Any, name: String): Boolean
Read-only: returns |
|
open fun getSpecificTargetClasses(): Array<Class<*>> |
|
open fun read(context: EvaluationContext, target: Any, name: String): TypedValue
Access the given target object by resolving the given property name against the given target environment. |
|
open fun write(context: EvaluationContext, target: Any, name: String, newValue: Any): Unit
Read-only: no-op. |