|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.cache.interceptor.CompositeCacheDefinitionSource
public class CompositeCacheDefinitionSource
Composite CacheDefinitionSource implementation that iterates
over a given array of CacheDefinitionSource instances.
| Constructor Summary | |
|---|---|
CompositeCacheDefinitionSource(CacheDefinitionSource[] cacheDefinitionSources)
Create a new CompositeCachingDefinitionSource for the given sources. |
|
| Method Summary | |
|---|---|
CacheDefinition |
getCacheDefinition(Method method,
Class<?> targetClass)
Return the cache operation definition for this method. |
CacheDefinitionSource[] |
getCacheDefinitionSources()
Return the CacheDefinitionSource instances that this CompositeCachingDefinitionSource combines. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeCacheDefinitionSource(CacheDefinitionSource[] cacheDefinitionSources)
cacheDefinitionSourcess - the CacheDefinitionSource instances to combine| Method Detail |
|---|
public final CacheDefinitionSource[] getCacheDefinitionSources()
public CacheDefinition getCacheDefinition(Method method,
Class<?> targetClass)
CacheDefinitionSource
getCacheDefinition in interface CacheDefinitionSourcemethod - methodtargetClass - target class. May be null, in which
case the declaring class of the method must be used.
CacheDefinition the matching cache operation definition,
or null if none found
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||