org.jboss.cache.aop
Class CollectionInterceptorUtil

java.lang.Object
  extended byorg.jboss.cache.aop.CollectionInterceptorUtil

public class CollectionInterceptorUtil
extends java.lang.Object

CollectionInterceptorUtil contains helper methods for the interceptors of the different collection types.


Constructor Summary
CollectionInterceptorUtil()
           
 
Method Summary
static ClassProxy createProxy(java.lang.Class clazz, Interceptor interceptor)
           
static java.util.Map getManagedMethods(java.lang.Class clazz)
           
static java.util.Map getMethodMap(java.lang.Class clazz)
           
static java.lang.Object invoke(Invocation invocation, java.lang.Object interceptor, java.util.Map methodMap, java.util.Map managedMethods)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionInterceptorUtil

public CollectionInterceptorUtil()
Method Detail

createProxy

public static ClassProxy createProxy(java.lang.Class clazz,
                                     Interceptor interceptor)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getMethodMap

public static java.util.Map getMethodMap(java.lang.Class clazz)

getManagedMethods

public static java.util.Map getManagedMethods(java.lang.Class clazz)

invoke

public static java.lang.Object invoke(Invocation invocation,
                                      java.lang.Object interceptor,
                                      java.util.Map methodMap,
                                      java.util.Map managedMethods)
                               throws java.lang.Throwable
Throws:
java.lang.Throwable