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

Document that auto-configuration classes should be identified using their binary names #44298

Closed
wilkinsona opened this issue Feb 17, 2025 · 0 comments
Assignees
Labels
type: documentation A documentation update
Milestone

Comments

@wilkinsona
Copy link
Member

When an auto-configuration class is listed in AutoConfiguration.imports or referenced as a String using the name attribute of @AutoConfigureBefore or @AutoConfigureAfter, it should be identified using its binary name. For top-level classes, this makes no difference (for example, com.example.ExampleAutoConfiguration). For nested classes, this requires the use of a $ separator rather than a . beyond the top-level class (for example com.example.Outer$NestedAutoConfiguration).

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

No branches or pull requests

1 participant