Browse Source

jfinal 3.6

James 7 years ago
parent
commit
a52cfaad9a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/java/com/jfinal/plugin/ehcache/EvictInterceptor.java

+ 3 - 0
src/main/java/com/jfinal/plugin/ehcache/EvictInterceptor.java

@@ -38,6 +38,9 @@ public class EvictInterceptor implements Interceptor {
 		}
 	}
 	
+	/**
+	 * 获取 @CacheName 注解配置的 cacheName,注解可配置在方法和类之上
+	 */
 	private String getCacheName(Invocation inv) {
 		CacheName cacheName = inv.getMethod().getAnnotation(CacheName.class);
 		if (cacheName != null) {