Class SpelPropertyAccessorRegistrar

java.lang.Object
org.springframework.integration.expression.SpelPropertyAccessorRegistrar

public class SpelPropertyAccessorRegistrar extends Object
Utility class that keeps track of a Set of SpEL PropertyAccessors in order to register them with the "integrationEvaluationContext" upon initialization. Accessors must be added before context refresh.
Since:
3.0
Author:
Artem Bilan, Gary Russell
  • Constructor Details

    • SpelPropertyAccessorRegistrar

      public SpelPropertyAccessorRegistrar()
    • SpelPropertyAccessorRegistrar

      public SpelPropertyAccessorRegistrar(PropertyAccessor... propertyAccessors)
      Create an instance with the provided PropertyAccessor instances. Each accessor name will be the class simple name.
      Parameters:
      propertyAccessors - the accessors.
      Since:
      4.3.8
    • SpelPropertyAccessorRegistrar

      public SpelPropertyAccessorRegistrar(Map<String,PropertyAccessor> propertyAccessors)
      Create an instance with the provided named PropertyAccessor instances.
      Parameters:
      propertyAccessors - a map of name:accessor.
      Since:
      4.3.8
  • Method Details