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

Introduce instantiateClass as replacement for RepositoryFactorySupport.getTargetRepositoryViaReflection #2361

Closed
mp911de opened this issue Apr 22, 2021 · 0 comments
Labels
type: task A general task

Comments

@mp911de
Copy link
Member

mp911de commented Apr 22, 2021

getTargetRepositoryViaReflection is somewhat misleading as it lets assume that the returned instance is a repository. In fact, this method looks up a matching constructor for the given arguments and creates an instance.

@mp911de mp911de added the type: task A general task label Apr 22, 2021
@mp911de mp911de changed the title Introduce method with a better name as replacement for RepositoryFactorySupport.getTargetRepositoryViaReflection Introduce instantiateClass as replacement for RepositoryFactorySupport.getTargetRepositoryViaReflection Apr 22, 2021
@mp911de mp911de added this to the 2.6 M1 (2021.1.0) milestone Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant