|
@@ -16,6 +16,7 @@
|
|
|
|
|
|
|
|
package com.jfinal.plugin.ehcache;
|
|
package com.jfinal.plugin.ehcache;
|
|
|
|
|
|
|
|
|
|
+import java.lang.annotation.Documented;
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.ElementType;
|
|
|
import java.lang.annotation.Inherited;
|
|
import java.lang.annotation.Inherited;
|
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.Retention;
|
|
@@ -31,6 +32,7 @@ import java.lang.annotation.Target;
|
|
|
* CacheInterceptor will use the actionKey as the cache name If the CacheName annotation not found.
|
|
* CacheInterceptor will use the actionKey as the cache name If the CacheName annotation not found.
|
|
|
*/
|
|
*/
|
|
|
@Inherited
|
|
@Inherited
|
|
|
|
|
+@Documented
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
|
@Target({ElementType.TYPE, ElementType.METHOD})
|
|
@Target({ElementType.TYPE, ElementType.METHOD})
|
|
|
public @interface CacheName {
|
|
public @interface CacheName {
|