Steven Bruce [http://community.jboss.org/people/mspbrst2] created the discussion
"Re: Get user info from DataSource connection" To view the discussion, visit: http://community.jboss.org/message/610642#610642 -------------------------------------------------------------- So I've found that I have access to the following classes: org.jboss.resource.connectionmanager.InternalManagedConnectionPool org.jboss.resource.connectionmanager.JBossManagedConnectionPool org.jboss.resource.connectionmanager.JBossManagedConnectionPool.BasePool; org.jboss.resource.connectionmanager.JBossManagedConnectionPool.SubPoolContext; ** ** *** org.jboss.resource.connectionmanager.JBossManagedConnectionPoolMBean;* But I'm not really sure how to use them. I'm currently using the following loop to look at my ManagedConnectionPools, can I access information about the sub pools from what I'm currently doing? ObjectName dbpoolsQryNam = **new** ObjectName("jboss.jca:service=ManagedConnectionPool,*"); Object[] dbpools = server.queryNames(dbpoolsQryNam, **null**).toArray(); **for** (**int** i = 0; i < dbpools.length && ++status++; i++) { // code } Thanks, Steven -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/610642#610642] Start a new discussion in Datasource Configuration at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
