[jboss-user] [Management, JMX/JBoss] - Re: Retrieve ObjectName of webapp without id
PeterJ
do-not-reply at jboss.com
Mon Feb 19 18:02:49 EST 2007
Like I said, you need to use the queryNames method to get all mbean names what match a wild card. For example:
ObjectName on = new ObjectName("jboss.web.deployment:war=file.war,*");
Set mv = server.queryNames(on, null);
Each entry in mv is an ObjectName of a matching mbean. In this case, there should be at most one name in the set.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019063#4019063
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019063
More information about the jboss-user
mailing list