[jbossts-issues] [JBoss JIRA] (JBTM-1710) CDI @Inject doesn't work in CompensationHandler et al

Paul Robinson (JIRA) jira-events at lists.jboss.org
Fri May 24 05:38:06 EDT 2013

Paul Robinson created JBTM-1710:

             Summary: CDI @Inject doesn't work in CompensationHandler et al
                 Key: JBTM-1710
                 URL: https://issues.jboss.org/browse/JBTM-1710
             Project: JBoss Transaction Manager
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: TXFramework
            Reporter: Paul Robinson
            Assignee: Paul Robinson
             Fix For: 5.0.0.M3

org.jboss.narayana.compensations.impl.Participant uses class.newInstance to create the handler instance. This means that Weld does not handle the @Inject annotation. 

Creating the instance via the BeanManager solves this problem.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the jbossts-issues mailing list