You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/02/08 08:49:12 UTC

[jira] [Commented] (ONAMI-77) Make the ValidationModule discoverable with the ServiceLoader

    [ https://issues.apache.org/jira/browse/ONAMI-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574305#comment-13574305 ] 

Hudson commented on ONAMI-77:
-----------------------------

Integrated in Onami-Validation #11 (See [https://builds.apache.org/job/Onami-Validation/11/])
    [ONAMI-77] #comment ValidationModule can be discovered with the ServiceLoader #resolve (Revision 1443332)

     Result = SUCCESS
simonetripodi : 
Files : 
* /incubator/onami/sandbox/validation/pom.xml
* /incubator/onami/sandbox/validation/src/main/java/org/apache/onami/validation/ValidationModule.java

                
> Make the ValidationModule discoverable with the ServiceLoader
> -------------------------------------------------------------
>
>                 Key: ONAMI-77
>                 URL: https://issues.apache.org/jira/browse/ONAMI-77
>             Project: Apache Onami
>          Issue Type: Bug
>          Components: validation
>    Affects Versions: validation-1.0.0
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>             Fix For: validation-1.0.0
>
>
> The ValidationModule is a final module with no-args in ctor, it would make sense that users are able to plug it without declare it explicitly, just putting the jar in the classpath and using the Java ServiceLoader or Onami-SPI to discover modules and use 'em to create the Guice Injector

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira