How to list JBoss AS 7 datasource properties in Java code?
问题 I'm running JBoss AS 7.1.0.CR1b. I've got several datasources defined in my standalone.xml e.g. <subsystem xmlns="urn:jboss:domain:datasources:1.0"> <datasources> <datasource jndi-name="java:/MyDS" pool-name="MyDS_Pool" enabled="true" use-java-context="true" use-ccm="true"> <connection-url>some-url</connection-url> <driver>the-driver</driver> [etc] Everything works fine. I'm trying to access the information contained here within my code - specifically the connection-url and driver properties.