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

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

    [ https://issues.apache.org/jira/browse/TOMEE-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16067318#comment-16067318 ] 

ASF GitHub Bot commented on TOMEE-2082:
---------------------------------------

GitHub user jgallimore opened a pull request:

    https://github.com/apache/tomee/pull/80

    TOMEE-2082 - TOMEE-1908 allow JCA connectors to cast to their connection impl

    Proposed backport of TOMEE-2082.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jgallimore/tomee tomee-2082

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tomee/pull/80.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #80
    
----
commit a5a5de6297f2bb04700ed66a4a8081b44bd6d0ce
Author: Romain manni-Bucau <rm...@gmail.com>
Date:   2016-08-18T16:00:13Z

    TOMEE-1908 allow JCA connectors to cast to their connection impl

commit 4ee347870a4337bb434c5237d9bb37d59ca1be63
Author: Jonathan Gallimore <jo...@jrg.me.uk>
Date:   2017-06-28T21:56:15Z

    Backport of TOMEE-1908

----


> 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)