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 7024 2008-10-28 23:30:07Z jason.greene@jboss.com $
Author:
Ben Wang

Constructor Summary
PojoUtil()
           
 
Method Summary
 void attachArray(Object array, CachedArray cached)
           
 void attachInterceptor(Object pojo, org.jboss.aop.InstanceAdvisor advisor, org.jboss.aop.advice.Interceptor interceptor)
           
 int decrementReferenceCount(Reference reference, int count, Set<Reference> referencedBy_)
           
 void detachArray(Object array, CachedArray cached)
           
 void detachCollectionInterceptor(AbstractCollectionInterceptor interceptor)
           
 void detachInterceptor(org.jboss.aop.InstanceAdvisor advisor, org.jboss.aop.advice.Interceptor interceptor)
           
 int incrementReferenceCount(Reference reference, int count, Set<Reference> referencedBy_)
           
 void inMemorySubstitution(Object obj, Field field, Object newValue)
           
 void undoAttachArray(Object array, CachedArray cached)
           
 void undoAttachInterceptor(Object pojo, org.jboss.aop.InstanceAdvisor advisor, org.jboss.aop.advice.Interceptor interceptor)
           
 int undoDecrementReferenceCount(Reference reference, int count, Set<Reference> refList)
           
 void undoDetachArray(Object array, CachedArray cached)
           
 void undoDetachCollectionInterceptor(AbstractCollectionInterceptor interceptor)
           
 void undoDetachInterceptor(org.jboss.aop.InstanceAdvisor advisor, org.jboss.aop.advice.Interceptor interceptor)
           
 int undoIncrementReferenceCount(Reference reference, int count, Set<Reference> 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)

detachCollectionInterceptor

public void detachCollectionInterceptor(AbstractCollectionInterceptor interceptor)

attachArray

public void attachArray(Object array,
                        CachedArray cached)

detachArray

public void detachArray(Object array,
                        CachedArray cached)

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)

undoDetachCollectionInterceptor

public void undoDetachCollectionInterceptor(AbstractCollectionInterceptor interceptor)

undoAttachArray

public void undoAttachArray(Object array,
                            CachedArray cached)

undoDetachArray

public void undoDetachArray(Object array,
                            CachedArray cached)

inMemorySubstitution

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

undoInMemorySubstitution

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

incrementReferenceCount

public int incrementReferenceCount(Reference reference,
                                   int count,
                                   Set<Reference> referencedBy_)

undoIncrementReferenceCount

public int undoIncrementReferenceCount(Reference reference,
                                       int count,
                                       Set<Reference> refList)

decrementReferenceCount

public int decrementReferenceCount(Reference reference,
                                   int count,
                                   Set<Reference> referencedBy_)

undoDecrementReferenceCount

public int undoDecrementReferenceCount(Reference reference,
                                       int count,
                                       Set<Reference> refList)


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