[
https://issues.jboss.org/browse/JBTM-1983?page=com.atlassian.jira.plugin....
]
Paul Robinson updated JBTM-1983:
--------------------------------
Assignee: Michael Musgrove (was: Paul Robinson)
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
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