org.jboss.cache.aop
Class TreeCacheAopDelegate

java.lang.Object
  |
  +--org.jboss.cache.aop.TreeCacheAopDelegate

public class TreeCacheAopDelegate
extends java.lang.Object

Delegate class for TreeCacheAop.

Author:
Ben Wang

Field Summary
protected  TreeCacheAop cache_
           
protected  CollectionClassHandler collectionHandler_
           
protected  ObjectGraphHandler graphHandler_
           
protected  InternalDelegate internal_
           
protected static org.apache.commons.logging.Log log
           
protected  SerializableObjectHandler serializableHandler_
           
 
Constructor Summary
TreeCacheAopDelegate(TreeCacheAop cache)
           
 
Method Summary
protected  java.util.Map _findObjects(Fqn fqn)
           
protected  java.lang.Object _getObject(Fqn fqn)
           
protected  java.lang.Object _putObject(Fqn fqn, java.lang.Object obj)
          Note that caller of this method will take care of synchronization within the fqn sub-tree.
protected  void _regularPutObject(Fqn fqn, java.lang.Object obj, org.jboss.aop.InstanceAdvisor advisor, CachedType type)
           
protected  void _regularRemoveObject(Fqn fqn, boolean removeCacheInterceptor, java.lang.Object result, java.lang.Class clazz, boolean evict)
           
 java.lang.Object _removeObject(Fqn fqn, boolean removeCacheInterceptor, boolean evict)
          Note that caller of this method will take care of synchronization within the fqn sub-tree.
protected  void findChildObjects(Fqn fqn, java.util.Map map)
           
protected  java.lang.Object retrieveCurrentValue(Fqn fqn, java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache_

protected TreeCacheAop cache_

log

protected static final org.apache.commons.logging.Log log

internal_

protected InternalDelegate internal_

graphHandler_

protected ObjectGraphHandler graphHandler_

collectionHandler_

protected CollectionClassHandler collectionHandler_

serializableHandler_

protected SerializableObjectHandler serializableHandler_
Constructor Detail

TreeCacheAopDelegate

public TreeCacheAopDelegate(TreeCacheAop cache)
Method Detail

_getObject

protected java.lang.Object _getObject(Fqn fqn)
                               throws CacheException
CacheException

retrieveCurrentValue

protected java.lang.Object retrieveCurrentValue(Fqn fqn,
                                                java.lang.Object obj)
                                         throws CacheException
CacheException

_putObject

protected java.lang.Object _putObject(Fqn fqn,
                                      java.lang.Object obj)
                               throws CacheException
Note that caller of this method will take care of synchronization within the fqn sub-tree.

Parameters:
fqn -
obj -
Returns:
Throws:
CacheException

_regularPutObject

protected void _regularPutObject(Fqn fqn,
                                 java.lang.Object obj,
                                 org.jboss.aop.InstanceAdvisor advisor,
                                 CachedType type)
                          throws CacheException
CacheException

_removeObject

public java.lang.Object _removeObject(Fqn fqn,
                                      boolean removeCacheInterceptor,
                                      boolean evict)
                               throws CacheException
Note that caller of this method will take care of synchronization within the fqn sub-tree.

Parameters:
fqn -
removeCacheInterceptor -
evict -
Returns:
Throws:
CacheException

_regularRemoveObject

protected void _regularRemoveObject(Fqn fqn,
                                    boolean removeCacheInterceptor,
                                    java.lang.Object result,
                                    java.lang.Class clazz,
                                    boolean evict)
                             throws CacheException
CacheException

_findObjects

protected java.util.Map _findObjects(Fqn fqn)
                              throws CacheException
CacheException

findChildObjects

protected void findChildObjects(Fqn fqn,
                                java.util.Map map)
                         throws CacheException
CacheException


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.