You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Jurriaan Heuberger (JIRA)" <ji...@apache.org> on 2017/04/04 12:14:41 UTC
[jira] [Created] (ARIES-1709) prototype scope beans get multiple
transaction interceptors
Jurriaan Heuberger created ARIES-1709:
-----------------------------------------
Summary: prototype scope beans get multiple transaction interceptors
Key: ARIES-1709
URL: https://issues.apache.org/jira/browse/ARIES-1709
Project: Aries
Issue Type: Bug
Components: Transaction
Affects Versions: transaction-blueprint-2.1.0
Reporter: Jurriaan Heuberger
The AnnotationProcessor gets called for every instance of a prototype scope bean. It does no checking to see if the component already has a TxInterceptorImpl registered, and simply adds a new instance.
I'm not sure if the ComponentDefinitionRegistry should be responsible for detecting duplicate registrations, or if the AnnotationProcessor should do the checking.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)