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

Improve com.tc.util.factory.AbstractFactory #786

Open
ljacomet opened this issue Nov 27, 2017 · 0 comments
Open

Improve com.tc.util.factory.AbstractFactory #786

ljacomet opened this issue Nov 27, 2017 · 0 comments

Comments

@ljacomet
Copy link
Member

This code does some form of service loading without using a java.util.ServiceLoader.
However it has one major difference: it only supports files where the first line is a valid FQN classname. Anything else makes it fail, although that line can be followed by pretty much anything which will be ignored.

We should improve it in either of the following ways:

  • Delegate to the standard ServiceLoader system
  • Improve the file parsing to be fully compatible with ServiceLoader file syntax.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant