Polishing

This commit is contained in:
Juergen Hoeller
2014-07-28 23:05:08 +02:00
parent f732a441c8
commit 9f3c1cf762
3 changed files with 6 additions and 7 deletions

View File

@@ -24,7 +24,6 @@ import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.concurrent.ConcurrentMapCache;
import org.springframework.cache.config.AnnotatedJCacheableService;
import org.springframework.cache.jcache.config.AbstractJCacheAnnotationTests;
import org.springframework.cache.jcache.config.JCacheableService;
import org.springframework.cache.support.SimpleCacheManager;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AdviceMode;
@@ -33,16 +32,16 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
*
* @author Stephane Nicoll
*/
public class AspectJJcacheJavaConfigTests extends AbstractJCacheAnnotationTests {
public class JCacheAspectJJavaConfigTests extends AbstractJCacheAnnotationTests {
@Override
protected ApplicationContext getApplicationContext() {
return new AnnotationConfigApplicationContext(EnableCachingConfig.class);
}
@Configuration
@EnableCaching(mode = AdviceMode.ASPECTJ)
public static class EnableCachingConfig {

View File

@@ -21,10 +21,9 @@ import org.springframework.context.ApplicationContext;
import org.springframework.context.support.GenericXmlApplicationContext;
/**
*
* @author Stephane Nicoll
*/
public class AspectJJcacheNamespaceConfigTests extends AbstractJCacheAnnotationTests {
public class JCacheAspectJNamespaceConfigTests extends AbstractJCacheAnnotationTests {
@Override
protected ApplicationContext getApplicationContext() {