org.shiftone.cache.util
Class CacheInvocationHandler

java.lang.Object
  extended byorg.shiftone.cache.util.CacheInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class CacheInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Class CacheInvocationHandler is used to create cached proxies

Version:
$Revision: 1.11 $
Author:
Jeff Drost
See Also:
CacheProxy

Constructor Summary
CacheInvocationHandler(java.lang.Object target, Cache cache)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheInvocationHandler

public CacheInvocationHandler(java.lang.Object target,
                              Cache cache)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable