]
Radoslav Husar updated WFLY-3733:
---------------------------------
Comment: was deleted
(was: 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:
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
Fix For: 9.0.0.Beta1
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