[jboss-user] [JMX] - Re: JNDI lookup for all the mbeans in JBoss
do-not-reply at jboss.com
Tue Oct 6 11:15:30 EDT 2009
anonymous wrote : I am not sure about this lookup, will it fetch all the mbeans.
Did you even look at the javadoc for MBeanServerConnection? Like the queryMBeans() method? Perhaps looking at a JMX tutorial would help also.
1) What kind of connection string? Database connection?
2) JBoss AS create sevearl MBeans for each WAR deployed. You can use the MBeanServerConnection.queryMBeans() method, with a properly formatted name string, to get those MBeans.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258941#4258941
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258941
More information about the jboss-user