org.lexevs.cache
Class MethodCachingInterceptor

java.lang.Object
  extended by org.lexevs.cache.AbstractMethodCachingBean<org.aopalliance.intercept.MethodInvocation>
      extended by org.lexevs.cache.MethodCachingInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class MethodCachingInterceptor
extends AbstractMethodCachingBean<org.aopalliance.intercept.MethodInvocation>
implements org.aopalliance.intercept.MethodInterceptor


Constructor Summary
MethodCachingInterceptor()
           
 
Method Summary
protected  java.lang.Object[] getArguments(org.aopalliance.intercept.MethodInvocation joinPoint)
           
protected  java.lang.reflect.Method getMethod(org.aopalliance.intercept.MethodInvocation joinPoint)
           
protected  java.lang.Object getTarget(org.aopalliance.intercept.MethodInvocation joinPoint)
           
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
protected  java.lang.Object proceed(org.aopalliance.intercept.MethodInvocation joinPoint)
           
 
Methods inherited from class org.lexevs.cache.AbstractMethodCachingBean
clearAll, clearCache, doCacheMethod, getArgumentKey, getArgumentKey, getCacheFromName, getCacheRegistry, getCaches, getKeyFromMethod, getLogger, getSystemVariables, setCacheRegistry, setLogger, setSystemVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCachingInterceptor

public MethodCachingInterceptor()
Method Detail

getArguments

protected java.lang.Object[] getArguments(org.aopalliance.intercept.MethodInvocation joinPoint)
Specified by:
getArguments in class AbstractMethodCachingBean<org.aopalliance.intercept.MethodInvocation>

getMethod

protected java.lang.reflect.Method getMethod(org.aopalliance.intercept.MethodInvocation joinPoint)
Specified by:
getMethod in class AbstractMethodCachingBean<org.aopalliance.intercept.MethodInvocation>

getTarget

protected java.lang.Object getTarget(org.aopalliance.intercept.MethodInvocation joinPoint)
Specified by:
getTarget in class AbstractMethodCachingBean<org.aopalliance.intercept.MethodInvocation>

proceed

protected java.lang.Object proceed(org.aopalliance.intercept.MethodInvocation joinPoint)
                            throws java.lang.Throwable
Specified by:
proceed in class AbstractMethodCachingBean<org.aopalliance.intercept.MethodInvocation>
Throws:
java.lang.Throwable

invoke

public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
java.lang.Throwable

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.