|
From: <no...@so...> - 2002-01-24 01:18:51
|
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: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) 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(). ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=410050&aid=507764&group_id=34041 |