[jbossts-issues] [JBoss JIRA] (JBTM-1710) CDI @Inject doesn't work in CompensationHandler et al
Paul Robinson (JIRA)
jira-events at lists.jboss.org
Sat May 25 05:31:06 EDT 2013
[ https://issues.jboss.org/browse/JBTM-1710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Robinson resolved JBTM-1710.
---------------------------------
Resolution: Done
> 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