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)

Reply via email to