ReplicationInterceptor

skipMethodCall

Each interceptor should extend this if it does not need any processing for current call.
An sample usage would be: this interceptor is only interested if thre is one transaction going on. If so all
handleXYZ would know that we have a transaction going and would not check its state.

runPreparePhase

Calls prepare(GlobalTransaction,List,org.jgroups.Address,boolean)) in all members except self.
Waits for all responses. If one of the members failed to prepare, its return value
will be an exception. If there is one exception we rethrow it. This will mark the
current transaction as rolled back, which will cause the
afterCompletion(int) callback to have a status
of MARKED_ROLLBACK. When we get that call, we simply roll back the
transaction.
If everything runs okay, the afterCompletion(int)
callback will trigger the @link #runCommitPhase(GlobalTransaction)).