[jboss-user] [Beginners Corner] - Re: JBoss API Question
lesquivel
do-not-reply at jboss.com
Tue Aug 4 16:27:42 EDT 2009
Peter, I assume this is what you mean by accessing the MBean?
Context ctx = new InitialContext();
MBeanServerConnection mconn = (MBeanServerConnection)ctx.lookup("jmx/invoker/RMIAdaptor");
ObjectName name = new ObjectName("jboss.system:type=Server");
Thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247971#4247971
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247971
More information about the jboss-user
mailing list