[ mx4j-Bugs-935679 ] getAttribute() in RequiredModelMBean doesn't follow specs
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #935679, was opened at 2004-04-15 07:55 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450647&aid=935679&group_id=47745 Category: JMX implementation Group: Release 2.0.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: getAttribute() in RequiredModelMBean doesn't follow specs Initial Comment: When calling getAttribute on a RequiredModelMBean with a descriptor containing a "getMethod" field, the method is invoked directly on the target object through Reflection, no matter if the method is published or not for Monitoring. However, the JMX 1.2 specs say that the value for the field "getMethod" should be : "Operation name from the operation descriptors to be used to retrieve the value of the attribute from the managed resource." which means the value should correspond to the name of a ModelMBeanOperationInfo object. Therefore, only operations defined by ModelMBeanOperationInfo objects can be used for "getMethod" in ModelMBeanAttributeInfo descriptors. (submitted by [email protected]) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450647&aid=935679&group_id=47745 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click