javax.cache.annotation
Annotation Type CacheDefaults


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface CacheDefaults


Optional Element Summary
 java.lang.Class<? extends CacheKeyGenerator> cacheKeyGenerator
           
 java.lang.String cacheName
           
 java.lang.Class<? extends CacheResolverFactory> cacheResolverFactory
           
 

cacheName

public abstract java.lang.String cacheName
Default:
""

cacheResolverFactory

public abstract java.lang.Class<? extends CacheResolverFactory> cacheResolverFactory
Default:
javax.cache.annotation.CacheResolverFactory.class

cacheKeyGenerator

public abstract java.lang.Class<? extends CacheKeyGenerator> cacheKeyGenerator
Default:
javax.cache.annotation.CacheKeyGenerator.class