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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Dec 3 16:37:21 EST 2012


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

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

The configuration of the custom metric should include a "module" attribute whose value is the name of the module that packages the metric. The module can then be loaded using the JBoss Modules API.

See WebValveAdd in the web subsystem.
                
> 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