MBeanServerConnection server1 = adaptors[1];
ObjectName rpcService = new ObjectName(RPC_ONENODE_CLASSLOADER_SERVICE);
// try using a custom class as parameter
String employer = "WidgetsRUs";
PersonQuery query = new PersonQuery();
query.setEmployer(employer);
Object[] parms = new Object[]{query};
String[] types = new String[]{PersonQuery.class.getName()};
Object obj1 = server1.invoke(rpcService, "runRetrieveQuery", parms, types);
assertNotNull("expected ArrayList as result type, got null", obj1);