Hi Robert, maybe I just don't get what you want todo.. How about some "pseudo code" ?
I just committed some code to use only one EntityManager/JCR Session per request. Hopefully this will help with Alfresco. Bye, Norman 2010/5/7 Robert Burrell Donkin <[email protected]>: > On Fri, May 7, 2010 at 5:58 AM, Norman Maurer > <[email protected]> wrote: >> Hi Robert, >> >> to be honest I think it would make things just more complicated. I >> think we should just make sure we keep the jcr session / entitymanager >> etc open till we are done with processing the request. Nothing more... >> >> I don't see the advance of implement such a callback interface. Maybe >> you can outline why you "prefer" this way ? > > fit in better with the message style API used by the rest of the IMAP > stack. should make transactions transparent and allow scheduling > rather than synchronisation for some operations. > > - robert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
