[jboss-jira] [JBoss JIRA] (AG-35) Use ServiceLoader to discover implementations

Luis Barreiro (JIRA) issues at jboss.org
Fri Sep 22 15:45:00 EDT 2017


     [ https://issues.jboss.org/browse/AG-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luis Barreiro resolved AG-35.
-----------------------------
    Resolution: Done


Three options as to how generate the service descriptor : 
# by hand, in resources/META-INF folder
# using a maven plugin (com.github.kristofa/service-plugin-loader)
# using an annotation (org.kohsuke/metainf-services)

Decided to go for a maven plugin, for being the cleanest way, although it does not seem to integrate with IDEs as well as an annotation does.

> Use ServiceLoader to discover implementations
> ---------------------------------------------
>
>                 Key: AG-35
>                 URL: https://issues.jboss.org/browse/AG-35
>             Project: Agroal
>          Issue Type: Bug
>          Components: api, hikari, pool
>    Affects Versions: 0.2
>            Reporter: Luis Barreiro
>            Assignee: Luis Barreiro
>             Fix For: 0.3
>
>




--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list