com.googlecode.ehcache.annotations
Annotation Type KeyGenerator


@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface KeyGenerator

Specifies and configures a CacheKeyGenerator in a Spring ApplicationContext that is a child of the application's context. All beans available in the application's context can be refernced by a CacheKeyGenerator configured this way.


Required Element Summary
 java.lang.String name
          The class name of the generator to use.
 
Optional Element Summary
 Property[] properties
          Bean properties used to configure the generator.
 

Element Detail

name

public abstract java.lang.String name
The class name of the generator to use. If one of the included generators in the com.googlecode.ehcache.annotations.key package is used only the class name is required. If a class outside that package is used the fully qualified class name must be specified.

properties

public abstract Property[] properties
Bean properties used to configure the generator.

Default:
{}


Copyright © 2011. All Rights Reserved.