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 );
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868270#3868270
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868270
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user