When I want to look up an mbean, I usually go through JNDI as follows:

Context ctx = new InitialContext(...);
  | MBeanServerConnection mconn = 
(MBeanServerConnection)ctx.lookup("jmx/invoker/RMIAdaptor");
  | String mbean = "JMImplementation:service=LoaderRepository";
  | Object result = mconn.invoke(new ObjectName(mbean), "getLoaders", new 
Object[]{} ,newString[]{});


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983014#3983014

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983014
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to