This content has been marked as final.
Show 3 replies
-
1. Re: Pass an array to MBean method
anil.saldhana Feb 28, 2005 2:00 PM (in response to holodok)Have a look at 'Open MBeans'
-
2. Re: Pass an array to MBean method
dimitris Feb 28, 2005 2:15 PM (in response to holodok)Show the code... Is this is a standard mbean?
-
3. Re: Pass an array to MBean method
holodok Feb 28, 2005 2:33 PM (in response to holodok)I've already done this. I just should use the following code to pass an array:
ObjectName _name = new ObjectName("mamt.lilu:service=Registry");
Object[] _params = new Object[]{new String[]{"str1"}};
String[] _types = new String[]{"[Ljava.lang.String;"};
Object _res = _server.invoke( _name, "test", _params, _types );