[ 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 emcmanus
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: Open
Resolution: None
Priority: 5
Submitted By: David Moran (dwmoran)
Assigned to: Nobody/Anonymous (nobody)
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: 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.