org.apache.cayenne.lifecycle.cache
Annotation Type CacheGroups


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Inherited
public @interface CacheGroups

A built-in annotation that provides declarative cache management for persistent objects.

Since:
3.1

Optional Element Summary
 String[] value
          Defines one or more cache group names associated with the tagged entity.
 

value

public abstract String[] value
Defines one or more cache group names associated with the tagged entity. If omitted, it is assumed that cache group names are determined dynamically based on the object type or state in whatever listener is to process them.

Default:
{}


Copyright © 2001-2013 Apache Cayenne. All Rights Reserved.