CacheResolver implementation that requires the concrete
implementation to provide the collection of cache name(s) based on the
invocation context.
| Modifier and Type | Field and Description |
|---|---|
| private CacheManager |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | AbstractCacheResolver(CacheManager
the CacheManager to use cacheManager)Construct a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Implements org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. |
| public CacheManager | |
| protected abstract Collection | Returns: the cache name(s) to resolve, ornull if no cache should be resolvedthe context of the particular invocation context)Provide the name of the cache(s) to resolve against the current cache manager. |
| public Collection | resolveCaches(CacheOperationInvocationContext<?>
the context of the particular invocation context)Implements org. Return the cache(s) to use for the specified invocation. |
| public void |
| cacheManager | back to summary |
|---|---|
| private CacheManager cacheManager
| |
| AbstractCacheResolver | back to summary |
|---|---|
| protected AbstractCacheResolver() Construct a new
| |
| AbstractCacheResolver | back to summary |
|---|---|
| protected AbstractCacheResolver(CacheManager cacheManager) Construct a new
| |
| afterPropertiesSet | back to summary |
|---|---|
| public void afterPropertiesSet() Implements org. Doc from org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set.
| |
| getCacheManager | back to summary |
|---|---|
| public CacheManager getCacheManager() Return the | |
| getCacheNames | back to summary |
|---|---|
| protected abstract Collection Provide the name of the cache(s) to resolve against the current cache manager. It is acceptable to return
| |
| resolveCaches | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Return the cache(s) to use for the specified invocation.
| |
| setCacheManager | back to summary |
|---|---|
| public void setCacheManager(CacheManager cacheManager) Set the | |