Keel 2.1RC2

examples.caching
Class CachingAspect

java.lang.Object
  extended byAspect
      extended byexamples.caching.CachingAspect

public class CachingAspect
extends Aspect

Author:
See Also:
Serialized Form

Field Summary
protected  java.util.Map m_cache
           
 
Constructor Summary
CachingAspect()
           
 
Method Summary
 java.lang.Object cache(JoinPoint joinPoint)
           
private  long calculateHash(MethodSignature signature)
           
 void invocationCounter(JoinPoint joinPoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_cache

protected java.util.Map m_cache
Constructor Detail

CachingAspect

public CachingAspect()
Method Detail

invocationCounter

public void invocationCounter(JoinPoint joinPoint)
                       throws java.lang.Throwable
Throws:
java.lang.Throwable

cache

public java.lang.Object cache(JoinPoint joinPoint)
                       throws java.lang.Throwable
Throws:
java.lang.Throwable

calculateHash

private long calculateHash(MethodSignature signature)

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.