Do You have in mind something like that?
This is actual code snippet
SynchronizationHandler handler = new SynchronizationHandler(tx);
try {
tx.registerSynchronization(handler);
} catch (RollbackException e) {
// This would be extremely strange if this ever got called.
logger.error(e);
}
tx - retrieven from Transaction manager
SynchronizationHandler stores all action that are responsible for updating cache.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995682#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...