接口的使用
org.springframework.cache.annotation.CacheAnnotationParser
使用CacheAnnotationParser的程序包 程序包 说明 org.springframework.cache.annotation Annotations and supporting classes for declarative cache management.org.springframework.cache.annotation中CacheAnnotationParser的使用
实现CacheAnnotationParser的org.springframework.cache.annotation中的类 修饰符和类型 类 说明 classSpringCacheAnnotationParserStrategy implementation for parsing Spring'sCaching,Cacheable,CacheEvict, andCachePutannotations.参数类型为CacheAnnotationParser的org.springframework.cache.annotation中的方法 修饰符和类型 方法 说明 Collection<CacheOperation>AnnotationCacheOperationSource.CacheOperationProvider. getCacheOperations(CacheAnnotationParser parser)Return theCacheOperationinstance(s) provided by the specified parser.参数类型为CacheAnnotationParser的org.springframework.cache.annotation中的构造器 构造器 说明 AnnotationCacheOperationSource(CacheAnnotationParser annotationParser)Create a custom AnnotationCacheOperationSource.AnnotationCacheOperationSource(CacheAnnotationParser... annotationParsers)Create a custom AnnotationCacheOperationSource.类型变量类型为CacheAnnotationParser的org.springframework.cache.annotation中的构造器参数 构造器 说明 AnnotationCacheOperationSource(Set<CacheAnnotationParser> annotationParsers)Create a custom AnnotationCacheOperationSource.