All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nepxion.aquarius.cache.configuration.CacheAopConfiguration Maven / Gradle / Ivy

Go to download

Nepxion Aquarius is a list of distribution components based on Redis + Zookeeper with Nepxion Matrix AOP framework

There is a newer version: 2.0.13
Show newest version
package com.nepxion.aquarius.cache.configuration;

/**
 * 

Title: Nepxion Aquarius

*

Description: Nepxion Aquarius

*

Copyright: Copyright (c) 2017-2050

*

Company: Nepxion

* @author Haojun Ren * @version 1.0 */ import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import com.nepxion.aquarius.cache.aop.CacheAutoScanProxy; import com.nepxion.aquarius.cache.aop.CacheInterceptor; import com.nepxion.aquarius.cache.constant.CacheConstant; @Configuration public class CacheAopConfiguration { @Value("${" + CacheConstant.CACHE_SCAN_PACKAGES + ":}") private String scanPackages; @Bean public CacheAutoScanProxy cacheAutoScanProxy() { return new CacheAutoScanProxy(scanPackages); } @Bean public CacheInterceptor cacheInterceptor() { return new CacheInterceptor(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy