[Mc4j-development] [ mc4j-Bugs-2007692 ] ems does not find all mbean operations
Brought to you by:
ghinkl
From: SourceForge.net <no...@so...> - 2008-07-01 13:03:06
|
Bugs item #2007692, was opened at 2008-07-01 15:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=2007692&group_id=60228 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Operations Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Heiko W.Rupp (pilhuhn) Assigned to: Nobody/Anonymous (nobody) Summary: ems does not find all mbean operations Initial Comment: Take a JbossAS jboss.system:type=Server Mbean. This one has 9 operations. DMBean only finds 7 of them, as halt() and exit() exist in two (overloaded) versions. DMBean.loadSynchronous() fills in the operations map with the name of the operation as key, not taking any parameters into account. So it is sort of random which of the methods with overloaded names make it into the operations map. Suggestion: If an operation has parameters, add them as :<type> after the name. So halt() would become halt and halt(int) -> halt:int halt(String,int) -> halt:String:int etc. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=2007692&group_id=60228 |