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

Implicit service class #5

Open
GoogleCodeExporter opened this issue May 1, 2015 · 0 comments
Open

Implicit service class #5

GoogleCodeExporter opened this issue May 1, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hello, have a look at META-INF/services file generator*. It's the same goal but 
you do not need to specify the service class explicit. Just the annotation is 
enough if the annotated class have only one super-class/interface:

@MetaInfServices
public class MyProvider implements SomeContract {
  ...
}

I think that would be a great enhancement for your project.

* http://weblogs.java.net/blog/kohsuke/archive/2009/03/my_project_of_t.html

Original issue reported on code.google.com by [email protected] on 21 Oct 2012 at 4:31

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