-
Notifications
You must be signed in to change notification settings - Fork 38.5k
@Enable* should be supported without @Configuration [SPR-10660] #15288
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
Comments
Rob Winch commented Juergen Hoeller Any chance we could look into this for the next release? |
Juergen Hoeller commented Rob Winch, this effectively duplicates #15163... and therefore works since 4.0 already. Have you been trying this against 3.2.x? |
Rob Winch commented Thanks Juergen Hoeller! I hadn't realized it was fixed as part of another issue. I was bumping the issue due to some feedback on StackOverflow. I responded to the comment that this should be resolved and am awaiting any response. Thanks again! |
Rob Winch commented Juergen Hoeller I just noticed that this was not actually resolved completely. The |
Juergen Hoeller commented I'm afraid this works as designed: Classpath scanning requires a match for an include filter, by default one of our |
Rob Winch commented Juergen Hoeller Thanks for the response. Does it make sense to explicitly add |
Juergen Hoeller commented I'm afraid it doesn't.. those are really orthogonal concerns. Through custom include/exclude filters, people may already selectively pick up certain component classes but not others, and we'd arguably mess that up if the plain presence of |
Uh oh!
There was an error while loading. Please reload this page.
Rob Winch opened SPR-10660 and commented
@Enable
annotations have no meaning unless combined with@Configuration
. It would be useful to allow configurations with only@Enable
annotations.It would be ideal if all the following tests pass (each test is marked with a comment with its current behavior):
Issue Links:
@Import
classes as lite@Configuration
("duplicates")Referenced from: commits d18b3f0
The text was updated successfully, but these errors were encountered: