I have some MBean services which depend upon
org.jboss.resource.adapter.jdbc.WrappedConnection since they pull their DBMS connection from the connection pool. Problem is that this is not in the classpath for MBeans and adding it to system classpath requires a lot of other jars.
Is there a better way to do this. IE Have an MBEAN which gets a connection from a pool but needs access to the native connection via WrappedConnection.getUnderlyingConnection()