Spring Boot for VMware GemFire
Class SmartEnvironmentAccessor
java.lang.Object
org.springframework.geode.expression.SmartEnvironmentAccessor
- All Implemented Interfaces:
org.springframework.expression.PropertyAccessor
public class SmartEnvironmentAccessor
extends Object
implements org.springframework.expression.PropertyAccessor
Spring
PropertyAccessor implementation that knows how to access properties
from Environment and EnvironmentCapable objects.- Since:
- 1.3.1
- See Also:
-
EnvironmentEnvironmentCapablePropertyAccessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstatic SmartEnvironmentAccessorcreate()Factory method used to construct a new instance ofSmartEnvironmentAccessor.Class<?>[]org.springframework.expression.TypedValuevoid
-
Constructor Details
-
SmartEnvironmentAccessor
public SmartEnvironmentAccessor()
-
-
Method Details
-
create
Factory method used to construct a new instance ofSmartEnvironmentAccessor.- Returns:
- a new instance of
SmartEnvironmentAccessor.
-
getSpecificTargetClasses
- Specified by:
getSpecificTargetClassesin interfaceorg.springframework.expression.PropertyAccessor
-
canRead
public boolean canRead(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name) - Specified by:
canReadin interfaceorg.springframework.expression.PropertyAccessor
-
read
public org.springframework.expression.TypedValue read(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name) - Specified by:
readin interfaceorg.springframework.expression.PropertyAccessor
-
canWrite
public boolean canWrite(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name) - Specified by:
canWritein interfaceorg.springframework.expression.PropertyAccessor- Returns:
- false.
-
write
public void write(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name, @Nullable Object newValue) - Specified by:
writein interfaceorg.springframework.expression.PropertyAccessor
-