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

Type-based ImageFactory #11

Closed
pointan opened this issue Feb 11, 2021 · 0 comments · Fixed by #14
Closed

Type-based ImageFactory #11

pointan opened this issue Feb 11, 2021 · 0 comments · Fixed by #14
Assignees
Labels
confirmed Request was accepted and will be worked on

Comments

@pointan
Copy link
Member

pointan commented Feb 11, 2021

Create a Type-basedImageFactoryFactory, that returns a ImageFactory for a given type. This should be achieved, by adding a getSupportedType Method to the Factories, and use the Java https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ServiceLoader.html to load different Factories, and use the one that supports the requested type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed Request was accepted and will be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant