[jbosscache-dev] Notifying TxInterceptor of Jgroups BLOCK event

Vladimir Blagojevic vladimir.blagojevic at jboss.com
Thu Dec 7 16:00:16 EST 2006


Hi,

As a part of JBCACHE-315 implementation we have to notify TXInterceptor
that Jgroups BLOCK event arrived. I could think of two solutions:

A) Find TxInterceptor in interceptor list and invoke
TxInterceptor.block() directly
B) Pass block notification as a method down the interceptor chain and
implement logic in TxInterceptor

For B) do we have to set option override that method is local so method
call does not get replicated?

Which approach is preferred? Any other ideas?

Regards,
Vladimir




More information about the jbosscache-dev mailing list