[jbossts-issues] [JBoss JIRA] (JBTM-1983) JTA 1.2 @TransactionScoped Context doesn't call @Predestroy on TransactionScoped Beans

Paul Robinson (JIRA) jira-events at lists.jboss.org
Mon Oct 21 03:57:02 EDT 2013

     [ https://issues.jboss.org/browse/JBTM-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Robinson updated JBTM-1983:

    Fix Version/s: 5.0.0.Final

> JTA 1.2 @TransactionScoped Context doesn't call @Predestroy on TransactionScoped Beans
> --------------------------------------------------------------------------------------
>                 Key: JBTM-1983
>                 URL: https://issues.jboss.org/browse/JBTM-1983
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTA
>    Affects Versions: 5.0.0.M3
>            Reporter: Aris Tzoumas
>            Assignee: Paul Robinson
>             Fix For: 5.0.0.Final
> {{TransactionContext}} should store the {{Contextual}} and {{CreationalContext}} instances for each bean instance it creates so that it can destroy the beans on scope destruction.
> One possible implementation would be to register a {{Synchronization}} through {{TransactionSynchronizationRegistry#registerInterposedSynchronization}} which will destroy the beans when {{Synchronization#beforeCompletion()}} is called.

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