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

Java config bean definitions are overridden by superclass (SPR-10992) #390

Closed
wants to merge 1 commit into from

Conversation

chelu
Copy link

@chelu chelu commented Oct 19, 2013

When adding bean methods from a Configuration class,
overridden methods from superclass are added too and
it's bean definition overrides those declared in the subclass.

The fix add a new method, getBeanMethodsToDefine to
ConfigurationClass that filter overriden methods,
for use in ConfigurationClassBeanDefinitionReader

Issue: SPR-10992

I have signed and agree to the terms of the SpringSource Individual
Contributor License Agreement.

When adding bean methods from a Configuration class,
overridden methods from superclass are added too and
it's bean definition overrides those declared in the subclass.

The fix add a new method, getBeanMethodsToDefine that filter
overriden methods for use in ConfigurationClassBeanDefinitionReader

Issue: SPR-10992
@chelu
Copy link
Author

chelu commented Nov 4, 2013

Closed as issue is now resolved.

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

Successfully merging this pull request may close these issues.

None yet

1 participant