diff --git a/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCache.java b/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCache.java index 605adf4886336ede0fee422f15f93a1e149481b6..e6920e97e9370269722069567d338c48d21bf005 100644 --- a/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCache.java +++ b/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCache.java @@ -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 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 */ diff --git a/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCacheManager.java b/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCacheManager.java index ab5b3d739582a2fd70f3bab22cd8c2e3ff13e07e..b72fcdc3e9dceb426a084a84930c8168a8b466be 100644 --- a/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCacheManager.java +++ b/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCacheManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 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}. + *

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; diff --git a/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheManagerFactoryBean.java b/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheManagerFactoryBean.java index 50938bf20eb5953e42447e79bfedfdfba5714fb1..cfadbe9e0363474c5c77658c70286e8be8b4ceca 100644 --- a/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheManagerFactoryBean.java +++ b/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheManagerFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 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. * *

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}. + *

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}. + *

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) {