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

Michael Musgrove (JIRA) jira-events at lists.jboss.org
Fri Oct 25 05:27:01 EDT 2013

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

Michael Musgrove updated JBTM-1983:

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/jbosstm/narayana/pull/515

> 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: Michael Musgrove
>            Priority: Critical
>             Fix For: 5.0.0.M9
> {{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