Enable more control of StandardEvaluationContext strategies [SPR-6763] #11429
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Mark Fisher opened SPR-6763 and commented
Currently, there are only 'add' methods for ConstructorResolver, MethodResolver, and PropertyAccessor strategies. It would be nice to have setter methods and possibly clear/remove methods.
In my case, I would like to replace the existing MethodResolver with a new one, but otherwise the StandardEvaluationContext works fine as-is.
Perhaps another option is to provide a base class that is essentially an "empty" version of what the StandardEvaluationContext provides (same strategies but not yet configured). Another idea (perhaps going too far) would be to provide a utility class with factory methods.
Affects: 3.0 GA
Referenced from: commits 5ca1f11
The text was updated successfully, but these errors were encountered: