Create UnlockInterceptor
------------------------

         Key: JBCACHE-22
         URL: http://jira.jboss.com/jira/browse/JBCACHE-22
     Project: JBoss Cache
        Type: Task
    Versions: 1.2    
    Reporter: Bela Ban
 Assigned to: Bela Ban 
    Priority: Minor
     Fix For: 1.2.1


When no TX is used we use lock-per-request. When an interceptor calls a method 
M2 within its method M1, then M2's locks will be release after M2 returns. We 
need to hold on to M2's locks, however, until *M1* returns.
SOLUTION: unlock not after the current request, but in a separate 
UnlockInterceptor. Requires the creation of a LockTable, key=TX, val=List<Lock>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to