Bugs item #507764, was opened at 2002-01-23 17:18
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=410050&aid=507764&group_id=34041
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Simone Bordet (biorn_steedom)
Summary: RequiredModelMBean.invoke()
Initial Comment:
RequiredModelMBean.invoke(opName,...) makes no attempt to match any of the
methods defined in its own class tree, it only looks in ModelMBeanInfo for the
named operation.
In other words the following will fail:
server.invoke(mbeanObjectName,
"setManagedResource",
new Object[] {new TestBean(), "ObjectReference"},
new String[] {"java.lang.Object",
"java.lang.String"});
when mbeanObjectName refers to a RequiredModelMBean that has been
successfully registered with the server - note the method name
'setManagedResource' is defined by the class ReqiredModelMBean().
----------------------------------------------------------------------
>Comment By: Simone Bordet (biorn_steedom)
Date: 2002-01-28 07:31
Message:
Logged In: YES
user_id=128193
The RI examples are bad coded. The JMX specification
forbids that type of calls.
The issue has been discussed also in jmx-forum, and
confirmed as a bug in the RI and in the RI examples.
Closed, resolution being not a bug.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=410050&aid=507764&group_id=34041
|