Is this what you want:
RMIAdaptor server = (RMIAdaptor) ic.lookup("jmx/invoker/RMIAdaptor");
| String domains[] = server.getDomains();
| for (int i=0;i<domains.length;i++) {
| System.out.println("Domain: " + domains);
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959540#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...