Skip to content

DATACMNS-1228 - Allow custom bean name generator #262

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

Closed

Conversation

xhaggi
Copy link

@xhaggi xhaggi commented Dec 1, 2017

This adds a new annotation attribute nameGenerator and XML attribute name-generator to specify a custom bean name generator in the same way it's done in @ComponentScan.

@EnableRepository(nameGenerator = XYZRepositoryBeanNameGenerator.class)
<repositories name-generator="com.acme.repositories.XYZRepositoryBeanNameGenerator" />
  • You have read the Spring Data contribution guidelines.
  • There is a ticket in the bug tracker for the project in our JIRA.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

@xhaggi xhaggi force-pushed the configure-bean-name-generator branch from 158f319 to 2f738be Compare December 1, 2017 13:50
@xhaggi xhaggi changed the title DATACMNS-168 - Allow custom bean name generator DATACMNS-1228 - Allow custom bean name generator Dec 1, 2017
@mp911de
Copy link
Member

mp911de commented Sep 18, 2019

That issue was fixed by DATACMNS-1497.

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.

2 participants