Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable more control of StandardEvaluationContext strategies [SPR-6763] #11429

Closed
spring-projects-issues opened this issue Jan 25, 2010 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

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

@spring-projects-issues
Copy link
Collaborator Author

Andy Clement commented

fixed. Added extra methods for constructor resolvers, method resolvers and property accessors. There is now a set method for them as well as a remove method.

@spring-projects-issues spring-projects-issues added type: enhancement A general enhancement in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.0.1 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants