[ mx4j-Bugs-920494 ] Invoke setManagedResource on RequiredModelMBean
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #920494, was opened at 2004-03-21 15:07
Message generated for change (Comment added) made by biorn_steedom
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=920494&group_id=47745
Category: JMX implementation
Group: Release 2.0.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: David Moran (dwmoran)
Assigned to: Simone Bordet (biorn_steedom)
Summary: Invoke setManagedResource on RequiredModelMBean
Initial Comment:
To set the managed resource on a ModelMBean using the
Remote api you need to call the invoke method on the
MBeanServer. When using the RequiredModelMBean calling
invoke("setManagedResouce") does not work. More
generaly , invoke should check to see if there is a
local method available before calling the methods
defined in the MBeanOperationInfo.
----------------------------------------------------------------------
>Comment By: Simone Bordet (biorn_steedom)
Date: 2004-03-22 15:11
Message:
Logged In: YES
user_id=128193
Fixed in CVS. Will be part of MX4J 2.0.1.
Thanks for submitting.
----------------------------------------------------------------------
Comment By: Eamonn McManus (emcmanus)
Date: 2004-03-22 10:12
Message:
Logged In: YES
user_id=770046
A local method should only be called if it is explicitly
declared in the ModelMBeanOperationInfo. Furthermore, the
local method should be ignored if there is a "class" field
in the ModelMBeanOperationInfo's descriptor that names a
class other than RequiredModelMBean, or if there is a
targetObject field in this descriptor that points to an
object other than the RequiredModelMBean itself.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=920494&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