Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
spring-framework
提交
35c847a7
S
spring-framework
项目概览
爱吃血肠
/
spring-framework
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-framework
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
35c847a7
编写于
8月 23, 2018
作者:
S
Sam Brannen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Polish JavaDoc for JCache support
Issue: SPR-17208
上级
253ffd71
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
15 deletion
+18
-15
spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCache.java
...in/java/org/springframework/cache/jcache/JCacheCache.java
+2
-2
spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCacheManager.java
.../org/springframework/cache/jcache/JCacheCacheManager.java
+8
-5
spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheManagerFactoryBean.java
...pringframework/cache/jcache/JCacheManagerFactoryBean.java
+8
-8
未找到文件。
spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCache.java
浏览文件 @
35c847a7
...
...
@@ -42,7 +42,7 @@ public class JCacheCache extends AbstractValueAdaptingCache {
/**
* Create a {@
link org.springframework.cache.jcache.
JCacheCache} instance.
* Create a {@
code
JCacheCache} instance.
* @param jcache backing JCache Cache instance
*/
public
JCacheCache
(
Cache
<
Object
,
Object
>
jcache
)
{
...
...
@@ -50,7 +50,7 @@ public class JCacheCache extends AbstractValueAdaptingCache {
}
/**
* Create a {@
link org.springframework.cache.jcache.
JCacheCache} instance.
* Create a {@
code
JCacheCache} instance.
* @param jcache backing JCache Cache instance
* @param allowNullValues whether to accept and convert null values for this cache
*/
...
...
spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCacheManager.java
浏览文件 @
35c847a7
/*
* Copyright 2002-201
7
the original author or authors.
* Copyright 2002-201
8
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -45,15 +45,18 @@ public class JCacheCacheManager extends AbstractTransactionSupportingCacheManage
/**
* Create a new JCacheCacheManager, setting the target JCache CacheManager
* through the {@link #setCacheManager} bean property.
* Create a new {@code JCacheCacheManager} without a backing JCache
* {@link CacheManager javax.cache.CacheManager}.
* <p>The backing JCache {@code javax.cache.CacheManager} can be set via the
* {@link #setCacheManager} bean property.
*/
public
JCacheCacheManager
()
{
}
/**
* Create a new JCacheCacheManager for the given backing JCache.
* @param cacheManager the backing JCache {@link CacheManager javax.cache.CacheManager}
* Create a new {@code JCacheCacheManager} for the given backing JCache
* {@link CacheManager javax.cache.CacheManager}.
* @param cacheManager the backing JCache {@code javax.cache.CacheManager}
*/
public
JCacheCacheManager
(
CacheManager
cacheManager
)
{
this
.
cacheManager
=
cacheManager
;
...
...
spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheManagerFactoryBean.java
浏览文件 @
35c847a7
/*
* Copyright 2002-201
7
the original author or authors.
* Copyright 2002-201
8
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -28,9 +28,9 @@ import org.springframework.beans.factory.InitializingBean;
import
org.springframework.lang.Nullable
;
/**
* {@link FactoryBean} for a JCache {@link javax.cache.CacheManager},
* obtaining a pre-defined
CacheManager
by name through the standard
* JCache {@link javax.cache.Caching} class.
* {@link FactoryBean} for a JCache {@link
CacheManager
javax.cache.CacheManager},
* obtaining a pre-defined
{@code CacheManager}
by name through the standard
* JCache {@link
Caching
javax.cache.Caching} class.
*
* <p>Note: This class has been updated for JCache 1.0, as of Spring 4.0.
*
...
...
@@ -56,16 +56,16 @@ public class JCacheManagerFactoryBean
/**
* Specify the URI for the desired
CacheManager
.
* Default is {@code null} (i.e. JCache's default).
* Specify the URI for the desired
{@code CacheManager}
.
*
<p>
Default is {@code null} (i.e. JCache's default).
*/
public
void
setCacheManagerUri
(
@Nullable
URI
cacheManagerUri
)
{
this
.
cacheManagerUri
=
cacheManagerUri
;
}
/**
* Specify properties for the to-be-created
CacheManager
.
* Default is {@code null} (i.e. no special properties to apply).
* Specify properties for the to-be-created
{@code CacheManager}
.
*
<p>
Default is {@code null} (i.e. no special properties to apply).
* @see javax.cache.spi.CachingProvider#getCacheManager(URI, ClassLoader, Properties)
*/
public
void
setCacheManagerProperties
(
@Nullable
Properties
cacheManagerProperties
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录