[jboss-user] [JBossCache] - Re: Cache, missing entries

baranowb do-not-reply at jboss.com
Thu Dec 21 12:58:33 EST 2006


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#3995682

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995682



More information about the jboss-user mailing list