org.jboss.cache.pojo.collection
Class CollectionInterceptorUtil
java.lang.Object
org.jboss.cache.pojo.collection.CollectionInterceptorUtil
public class CollectionInterceptorUtil
- extends java.lang.Object
CollectionInterceptorUtil contains helper methods for the interceptors of
the different collection types.
- Author:
- Harald Gliebe, Ben Wang
Method Summary |
static org.jboss.aop.proxy.ClassProxy |
createListProxy(PojoCacheImpl cache,
Fqn fqn,
java.lang.Class clazz,
java.util.List obj)
|
static org.jboss.aop.proxy.ClassProxy |
createMapProxy(PojoCacheImpl cache,
Fqn fqn,
java.lang.Class clazz,
java.util.Map obj)
|
static org.jboss.aop.proxy.ClassProxy |
createSetProxy(PojoCacheImpl cache,
Fqn fqn,
java.lang.Class clazz,
java.util.Set obj)
|
static AbstractCollectionInterceptor |
getInterceptor(org.jboss.aop.proxy.ClassProxy proxy)
|
static java.util.Map |
getManagedMethods(java.lang.Class clazz)
|
static java.util.Map |
getMethodMap(java.lang.Class clazz)
|
static java.lang.Object |
invoke(org.jboss.aop.joinpoint.Invocation invocation,
AbstractCollectionInterceptor interceptor,
java.lang.Object impl,
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 |
CollectionInterceptorUtil
public CollectionInterceptorUtil()
createMapProxy
public static org.jboss.aop.proxy.ClassProxy createMapProxy(PojoCacheImpl cache,
Fqn fqn,
java.lang.Class clazz,
java.util.Map obj)
throws java.lang.Exception
- Throws:
java.lang.Exception
createListProxy
public static org.jboss.aop.proxy.ClassProxy createListProxy(PojoCacheImpl cache,
Fqn fqn,
java.lang.Class clazz,
java.util.List obj)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSetProxy
public static org.jboss.aop.proxy.ClassProxy createSetProxy(PojoCacheImpl cache,
Fqn fqn,
java.lang.Class clazz,
java.util.Set obj)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInterceptor
public static AbstractCollectionInterceptor getInterceptor(org.jboss.aop.proxy.ClassProxy proxy)
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(org.jboss.aop.joinpoint.Invocation invocation,
AbstractCollectionInterceptor interceptor,
java.lang.Object impl,
java.util.Map methodMap,
java.util.Map managedMethods)
throws java.lang.Throwable
- Throws:
java.lang.Throwable