[jboss-user] [Beginners Corner] - Re: jmx-console
PeterJ
do-not-reply at jboss.com
Fri Nov 3 11:13:59 EST 2006
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
More information about the jboss-user
mailing list