You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jonathan Gallimore (JIRA)" <ji...@apache.org> on 2017/06/28 21:28:00 UTC

[jira] [Created] (TOMEE-2082) Use a ASM based proxy in AutoConnectionTracker

Jonathan Gallimore created TOMEE-2082:
-----------------------------------------

             Summary: Use a ASM based proxy in AutoConnectionTracker
                 Key: TOMEE-2082
                 URL: https://issues.apache.org/jira/browse/TOMEE-2082
             Project: TomEE
          Issue Type: Improvement
            Reporter: Jonathan Gallimore
            Assignee: Jonathan Gallimore


This class wraps a ManagedConnection from a resource adapter in a proxy to enable an interceptor. This prevents resource adapters from executing methods implemented on the implementation class itself, and further prevents the use of package-local methods on that class as well. 

This resource adapter: https://github.com/jms-ra/generic-jms-ra, which is popular for connecting to JMS systems that are based on using remoting, and looking up objects in a remote JNDI, such as JBossMQ and Tibco, does this here: https://github.com/jgallimore/generic-jms-ra/blob/1.x/generic-jms-ra-jar/src/main/java/org/jboss/resource/adapter/jms/JmsSessionFactoryImpl.java#L368-L368.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)