[jbossts-issues] [JBoss JIRA] (JBTM-1983) JTA 1.2 @TransactionScoped Context doesn't call @Predestroy on TransactionScoped Beans
Aris Tzoumas (JIRA)
jira-events at lists.jboss.org
Mon Oct 14 19:08:35 EDT 2013
Aris Tzoumas created JBTM-1983:
----------------------------------
Summary: 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: Tom Jenkinson
{{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