CacheResolver implementation that delegates to a standard
JSR-107 javax.cache.annotation.CacheResolver .
Used internally to invoke user-based JSR-107 cache resolvers.
| Modifier and Type | Field and Description |
|---|---|
| private final CacheResolver |
| Access | Constructor and Description |
|---|---|
| public | CacheResolverAdapter(CacheResolver target)
Create a new instance with the JSR-107 cache resolver to invoke. |
| Modifier and Type | Method and Description |
|---|---|
| protected CacheResolver | |
| public Collection | resolveCaches(CacheOperationInvocationContext<?>
the context of the particular invocation context)Implements org. Return the cache(s) to use for the specified invocation. |
| target | back to summary |
|---|---|
| private final CacheResolver target | |
| CacheResolverAdapter | back to summary |
|---|---|
| public CacheResolverAdapter(CacheResolver target) Create a new instance with the JSR-107 cache resolver to invoke. | |
| getTarget | back to summary |
|---|---|
| protected CacheResolver getTarget() Return the underlying | |
| resolveCaches | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Return the cache(s) to use for the specified invocation.
| |