This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.jetspeed.components.interceptors
Class CachingInterceptor
java.lang.Object
   org.apache.jetspeed.components.interceptors.AbstractCacheInterceptor
org.apache.jetspeed.components.interceptors.AbstractCacheInterceptor
       org.apache.jetspeed.components.interceptors.CachingInterceptor
org.apache.jetspeed.components.interceptors.CachingInterceptor
- All Implemented Interfaces: 
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
- public class CachingInterceptor 
- extends AbstractCacheInterceptor
 CacheInterceptor
 
 
  AoP Interceptor that can be used for generalized caching.  The only requirement is
  that intercepted methods must receive at least one (1) arguments.
  
 
  
  CacheInterceptor ALWAYS use the first argument in the method to build the unique cache key. 
 
- Version:
- $Id: CachingInterceptor.java 516448 2007-03-09 16:25:47Z ate $
- Author:
- Scott T. Weaver 
 
 
| Constructor Summary | 
| CachingInterceptor(org.apache.jetspeed.cache.general.GeneralCache cache)
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CachingInterceptor
public CachingInterceptor(org.apache.jetspeed.cache.general.GeneralCache cache)
- Parameters:
- cache-
doCacheOperation
protected Object doCacheOperation(org.aopalliance.intercept.MethodInvocation mi,
                                  String uniqueKey)
                           throws Throwable
- 
 doCacheOperation
  - 
 
- 
- Specified by:
- doCacheOperationin class- AbstractCacheInterceptor
 
- 
- Parameters:
- mi-
- uniqueKey-
- Returns:
- 
- Throws:
- Throwable
 
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.