org.apache.commons.ognl.internal.entry
Class MethodCacheEntryFactory<T extends MethodCacheEntry>

java.lang.Object
  extended by org.apache.commons.ognl.internal.entry.MethodCacheEntryFactory<T>
All Implemented Interfaces:
CacheEntryFactory<T,Map<String,List<Method>>>
Direct Known Subclasses:
DeclaredMethodCacheEntryFactory

public abstract class MethodCacheEntryFactory<T extends MethodCacheEntry>
extends Object
implements CacheEntryFactory<T,Map<String,List<Method>>>


Constructor Summary
MethodCacheEntryFactory()
           
 
Method Summary
 Map<String,List<Method>> create(T key)
           
protected abstract  boolean shouldCache(T key, Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCacheEntryFactory

public MethodCacheEntryFactory()
Method Detail

create

public Map<String,List<Method>> create(T key)
                                throws CacheException
Specified by:
create in interface CacheEntryFactory<T extends MethodCacheEntry,Map<String,List<Method>>>
Throws:
CacheException

shouldCache

protected abstract boolean shouldCache(T key,
                                       Method method)


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.