Annotation Type CacheGroups
-
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface CacheGroups
A built-in annotation that provides declarative cache management for persistent objects.
- Since:
- 3.1
- See Also:
InvalidationHandler,CacheGroup
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description CacheGroup[]groupsDefines one or more typed cache groups associated with the tagged entity.String[]valueDefines one or more cache group names associated with the tagged entity.
-
-
-
Element Detail
-
value
String[] value
Defines one or more cache group names associated with the tagged entity.- Default:
- {}
-
-
-
groups
CacheGroup[] groups
Defines one or more typed cache groups associated with the tagged entity.- Since:
- 4.0
- Default:
- {}
-
-