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

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Mon Oct 21 08:47:02 EDT 2013


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

Tom Jenkinson updated JBTM-1983:
--------------------------------

    Priority: Critical  (was: Major)

    
> 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.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