Class MethodCacheEntryFactory<T extends MethodCacheEntry>
- java.lang.Object
-
- org.apache.commons.ognl.internal.entry.MethodCacheEntryFactory<T>
-
- All Implemented Interfaces:
CacheEntryFactory<T,java.util.Map<java.lang.String,java.util.List<java.lang.reflect.Method>>>
- Direct Known Subclasses:
DeclaredMethodCacheEntryFactory
public abstract class MethodCacheEntryFactory<T extends MethodCacheEntry> extends java.lang.Object implements CacheEntryFactory<T,java.util.Map<java.lang.String,java.util.List<java.lang.reflect.Method>>>
-
-
Constructor Summary
Constructors Constructor Description MethodCacheEntryFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.lang.reflect.Method>>
create(T key)
protected abstract boolean
shouldCache(T key, java.lang.reflect.Method method)
-
-
-
Method Detail
-
create
public java.util.Map<java.lang.String,java.util.List<java.lang.reflect.Method>> create(T key) throws CacheException
- Specified by:
create
in interfaceCacheEntryFactory<T extends MethodCacheEntry,java.util.Map<java.lang.String,java.util.List<java.lang.reflect.Method>>>
- Throws:
CacheException
-
shouldCache
protected abstract boolean shouldCache(T key, java.lang.reflect.Method method)
-
-