This content has been marked as final.
Show 1 reply
-
1. Re: How to dynamically retrieve datasource names
peterj Jun 1, 2010 12:25 PM (in response to tarballa)Take a look at javax.management.MBeanAServerConnection.queryMBeans(). The query expression lets you specify the you want to obtain all MBeans with a given prefix ("jboss.jca" in this case) and a given set of attributes ("service=ManagedConnectionPool" in this case), and it returns all such MBeans.