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

Expose @Bean method metadata in the BeanDefinition [SPR-12232] #16847

Closed
spring-projects-issues opened this issue Sep 21, 2014 · 3 comments
Closed
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Phil Webb opened SPR-12232 and commented

It would be very useful if @Bean method metadata were exposed as part of the BeanDefinition. This would allow a BeanFactoryPostProcessor to make decisions based on annotations placed on the @Bean method.


Affects: 4.1 GA

Referenced from: commits f46c706

@spring-projects-issues
Copy link
Collaborator Author

Phil Webb commented

PR #649

@spring-projects-issues
Copy link
Collaborator Author

Phil Webb commented

Juergen Hoeller What do you think about this? Too much for 4.1.1?

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Rolled into AnnotatedBeanDefinition itself now, as an optional getFactoryMethodMetadata() method.

Juergen

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