[jboss-jira] [JBoss JIRA] (AS7-5905) Use ServiceLoader to locate mod_cluster custom load metrics

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Nov 9 10:17:18 EST 2012


    [ https://issues.jboss.org/browse/AS7-5905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733111#comment-12733111 ] 

Brian Stansberry commented on AS7-5905:
---------------------------------------

It may help, but for custom metrics, unless the user edits module.xml (bad!!!!) to add a dependency there needs to a mechanism to identify the module of the metric. Otherwise there is no way to access the module. What's there now seems to be wrong in this respect.

If more than one metric is available via ServiceLoader, how will the desired one be identified?
                
> Use ServiceLoader to locate mod_cluster custom load metrics
> -----------------------------------------------------------
>
>                 Key: AS7-5905
>                 URL: https://issues.jboss.org/browse/AS7-5905
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Clustering
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>             Fix For: 7.2.0.Alpha1
>
>
> Solves the problem of having to identify load metrics by class names.

--
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


More information about the jboss-jira mailing list