public class SpelPropertyAccessorRegistrar extends Object
PropertyAccessor
s
in order to register them with the "integrationEvaluationContext" upon initialization.
Accessors must be added before context refresh.Constructor and Description |
---|
SpelPropertyAccessorRegistrar() |
SpelPropertyAccessorRegistrar(Map<String,org.springframework.expression.PropertyAccessor> propertyAccessors)
Create an instance with the provided named property accessors.
|
SpelPropertyAccessorRegistrar(org.springframework.expression.PropertyAccessor... propertyAccessors)
Create an instance with the provided property accessors.
|
Modifier and Type | Method and Description |
---|---|
SpelPropertyAccessorRegistrar |
add(org.springframework.expression.PropertyAccessor... propertyAccessors)
Add the provided property accessors.
|
SpelPropertyAccessorRegistrar |
add(String name,
org.springframework.expression.PropertyAccessor propertyAccessor)
Add the provided named property accessor.
|
Map<String,org.springframework.expression.PropertyAccessor> |
getPropertyAccessors()
Return the registered accessors.
|
public SpelPropertyAccessorRegistrar()
public SpelPropertyAccessorRegistrar(org.springframework.expression.PropertyAccessor... propertyAccessors)
propertyAccessors
- the accessors.public Map<String,org.springframework.expression.PropertyAccessor> getPropertyAccessors()
public SpelPropertyAccessorRegistrar add(String name, org.springframework.expression.PropertyAccessor propertyAccessor)
name
- the name.propertyAccessor
- the accessor.public SpelPropertyAccessorRegistrar add(org.springframework.expression.PropertyAccessor... propertyAccessors)
propertyAccessors
- the accessors.