org.jboss.cache.pojo.impl
Class PojoUtil

java.lang.Object
  extended by org.jboss.cache.pojo.impl.PojoUtil

public class PojoUtil
extends Object

Utility class for method wrappers that we are interested to rollback (i.e., rollback).

Version:
$Id: PojoUtil.java 5439 2008-03-15 05:40:15Z jason.greene@jboss.com $
Author:
Ben Wang

Constructor Summary
PojoUtil()
           
 
Method Summary
 void attachInterceptor(Object pojo, org.jboss.aop.InstanceAdvisor advisor, org.jboss.aop.advice.Interceptor interceptor)
           
 int decrementReferenceCount(Fqn sourceFqn, int count, List refList)
           
 void detachInterceptor(org.jboss.aop.InstanceAdvisor advisor, org.jboss.aop.advice.Interceptor interceptor)
           
 int incrementReferenceCount(Fqn sourceFqn, int count, List refList)
           
 void inMemorySubstitution(Object obj, Field field, Object newValue)
           
 void undoAttachInterceptor(Object pojo, org.jboss.aop.InstanceAdvisor advisor, org.jboss.aop.advice.Interceptor interceptor)
           
 int undoDecrementReferenceCount(Fqn sourceFqn, int count, List refList)
           
 void undoDetachInterceptor(org.jboss.aop.InstanceAdvisor advisor, org.jboss.aop.advice.Interceptor interceptor)
           
 int undoIncrementReferenceCount(Fqn sourceFqn, int count, List refList)
           
 void undoInMemorySubstitution(Object obj, Field field, Object oldValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PojoUtil

public PojoUtil()
Method Detail

attachInterceptor

public void attachInterceptor(Object pojo,
                              org.jboss.aop.InstanceAdvisor advisor,
                              org.jboss.aop.advice.Interceptor interceptor)

detachInterceptor

public void detachInterceptor(org.jboss.aop.InstanceAdvisor advisor,
                              org.jboss.aop.advice.Interceptor interceptor)

undoAttachInterceptor

public void undoAttachInterceptor(Object pojo,
                                  org.jboss.aop.InstanceAdvisor advisor,
                                  org.jboss.aop.advice.Interceptor interceptor)

undoDetachInterceptor

public void undoDetachInterceptor(org.jboss.aop.InstanceAdvisor advisor,
                                  org.jboss.aop.advice.Interceptor interceptor)

inMemorySubstitution

public void inMemorySubstitution(Object obj,
                                 Field field,
                                 Object newValue)

undoInMemorySubstitution

public void undoInMemorySubstitution(Object obj,
                                     Field field,
                                     Object oldValue)

incrementReferenceCount

public int incrementReferenceCount(Fqn sourceFqn,
                                   int count,
                                   List refList)

undoIncrementReferenceCount

public int undoIncrementReferenceCount(Fqn sourceFqn,
                                       int count,
                                       List refList)

decrementReferenceCount

public int decrementReferenceCount(Fqn sourceFqn,
                                   int count,
                                   List refList)

undoDecrementReferenceCount

public int undoDecrementReferenceCount(Fqn sourceFqn,
                                       int count,
                                       List refList)


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