org.logicblaze.lingo
Class CachingMetadataStrategy
java.lang.Object
org.logicblaze.lingo.CachingMetadataStrategy
- All Implemented Interfaces:
- java.io.Serializable, MetadataStrategy
public class CachingMetadataStrategy
- extends java.lang.Object
- implements MetadataStrategy
Provides caching of metadata for performance.
- Version:
- $Revision$
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingMetadataStrategy
public CachingMetadataStrategy(MetadataStrategy proxy)
CachingMetadataStrategy
public CachingMetadataStrategy(MetadataStrategy proxy,
java.util.Map cache)
getMethodMetadata
public MethodMetadata getMethodMetadata(java.lang.reflect.Method method)
- Description copied from interface:
MetadataStrategy
- Generates the method specific metadata for the given method invocation
- Specified by:
getMethodMetadata
in interface MetadataStrategy
getResultJoinStrategy
public ResultJoinStrategy getResultJoinStrategy(org.aopalliance.intercept.MethodInvocation methodInvocation,
MethodMetadata metadata)
- Description copied from interface:
MetadataStrategy
- Returns the strategy for joining multiple results together when communicating with multiple back end
servers over topics.
- Specified by:
getResultJoinStrategy
in interface MetadataStrategy
getCache
public java.util.Map getCache()
setCache
public void setCache(java.util.Map cache)
getCacheSize
public int getCacheSize()
setCacheSize
public void setCacheSize(int cacheSize)
createCache
protected java.util.Map createCache()
Copyright © 2009 LogicBlaze, Inc.. All Rights Reserved.