|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.components.interceptors.AbstractCacheInterceptor
org.apache.jetspeed.components.interceptors.CachingInterceptor
public class CachingInterceptor
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.
Field Summary |
---|
Fields inherited from class org.apache.jetspeed.components.interceptors.AbstractCacheInterceptor |
---|
cache, uniquePrefix |
Constructor Summary | |
---|---|
CachingInterceptor(GeneralCache cache)
|
Method Summary | |
---|---|
protected java.lang.Object |
doCacheOperation(org.aopalliance.intercept.MethodInvocation mi,
java.lang.String uniqueKey)
doCacheOperation |
Methods inherited from class org.apache.jetspeed.components.interceptors.AbstractCacheInterceptor |
---|
buildKey, invoke |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingInterceptor(GeneralCache cache)
cache
- Method Detail |
---|
protected java.lang.Object doCacheOperation(org.aopalliance.intercept.MethodInvocation mi, java.lang.String uniqueKey) throws java.lang.Throwable
doCacheOperation
doCacheOperation
in class AbstractCacheInterceptor
mi
- uniqueKey
-
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |