...
- Look up resources using the embedded JNDI provider.
- Another way is to bind a bitronix.tm.resource.ResourceObjectFactory object, passing it a javax.naming.Reference containing a javax.naming.StringRefAddr containing the datasource's
uniqueNameasaddrTypesomewhere in your JNDI tree. Thebitronix.tm.resource.ResourceObjectFactoryclass will just return the datasource with the specifieduniqueName. This is explained more in-depth in the Tomcat and Jetty integration page.
...