[jboss-jira] [JBoss JIRA] (WFLY-3733) ChannelInstanceResourceDefinition doesn't expose non-primitive fields and any of @ManagedAttribute methods

Radoslav Husar (JIRA) issues at jboss.org
Sun Aug 17 18:41:30 EDT 2014


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

Radoslav Husar commented on WFLY-3733:
--------------------------------------

Unfortunately it is not possible to reasonably fix #2 at the time being: it is not currently possible to distinguish methods annotated as {{@ManagedAttribute}} whether they expose metric/info/data or whether they are actually dangerous destructive operations. Possible extension of the org.jgroups.annotations.ManagedAttribute would allow us to expose these as well.

Here is a branch that can be continued when made possible by Jgroups:
https://github.com/rhusar/wildfly/commit/bcec01845c80c3159afa35c2e6578b1b5db28349
https://github.com/rhusar/wildfly/tree/WFLY-3733_jgroups_managedattribute

> ChannelInstanceResourceDefinition doesn't expose non-primitive fields and any of @ManagedAttribute methods
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-3733
>                 URL: https://issues.jboss.org/browse/WFLY-3733
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>    Affects Versions: 8.1.0.Final
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>            Priority: Minor
>
> It seems to me that org.jboss.as.clustering.jgroups.subsystem.ChannelInstanceResourceDefinition#getProtocolMetricResourceDefinition 
> doesnt expose ManagedAttributes that would have to be registred as strings
> org/jboss/as/clustering/jgroups/subsystem/ChannelInstanceResourceDefinition.java:213
> and doesnt expose any of the annotated methods
> org/jboss/as/clustering/jgroups/subsystem/ChannelInstanceResourceDefinition.java:208



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list