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

SpEL: bean references in expressions [SPR-7173] #11832

Closed
spring-projects-issues opened this issue May 5, 2010 · 2 comments
Closed

SpEL: bean references in expressions [SPR-7173] #11832

spring-projects-issues opened this issue May 5, 2010 · 2 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented May 5, 2010

Andy Clement opened SPR-7173 and commented

It would be nice if beans could be referenced in expressions. There is a BeanFactoryAccessor but that will only work if the context object is a bean factory. Under this jira I'm proposing we add support for @beanname where the beanname is resolved through a bean resolver registered with the evaluation context.


Affects: 3.0.2

Issue Links:

  • SEC-1723 Support use of bean names in expressions via @beanName notation

Referenced from: commits f53621a

@spring-projects-issues
Copy link
Collaborator Author

Andy Clement commented

committed. Bean names via "@foo", dotted bean names should be quoted "@'foo.bar'". Beans are looked up through the bean resolver registered on the evaluation context.

@spring-projects-issues
Copy link
Collaborator Author

Sylvain LAURENT commented

Please document this feature in the reference doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants