org.jboss.cache.pojo.interceptors
Class PojoTxSynchronizationHandler

java.lang.Object
  extended by org.jboss.cache.pojo.interceptors.PojoTxSynchronizationHandler
All Implemented Interfaces:
Synchronization

public class PojoTxSynchronizationHandler
extends Object
implements Synchronization

Handling the rollback operation for PojoCache level, specifically interceptor add/remove, etc.

Version:
$Id: PojoTxSynchronizationHandler.java 7024 2008-10-28 23:30:07Z jason.greene@jboss.com $
Author:
Ben Wang

Method Summary
 void addToList(MethodCall mc)
           
 void afterCompletion(int status)
           
 void beforeCompletion()
           
static PojoTxSynchronizationHandler create()
           
static PojoTxSynchronizationHandler current()
           
 void resetUndoOp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

current

public static PojoTxSynchronizationHandler current()

create

public static PojoTxSynchronizationHandler create()

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface Synchronization

afterCompletion

public void afterCompletion(int status)
Specified by:
afterCompletion in interface Synchronization

addToList

public void addToList(MethodCall mc)

resetUndoOp

public void resetUndoOp()


Copyright 2008 JBoss, a division of Red Hat. All Rights Reserved.