org.springframework.aop.support.AbstractPointcutAdvisor Java Examples
The following examples show how to use
org.springframework.aop.support.AbstractPointcutAdvisor.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AutoloadCacheAutoConfigure.java From AutoLoadCache with Apache License 2.0 | 5 votes |
@Bean("autoloadCacheAdvisor") @ConditionalOnBean(CacheMethodInterceptor.class) public AbstractPointcutAdvisor autoloadCacheAdvisor(CacheMethodInterceptor cacheMethodInterceptor) { AbstractPointcutAdvisor cacheAdvisor = new MethodAnnotationPointcutAdvisor(Cache.class, cacheMethodInterceptor); cacheAdvisor.setOrder(config.getCacheOrder()); return cacheAdvisor; }
Example #2
Source File: AutoloadCacheAutoConfigure.java From AutoLoadCache with Apache License 2.0 | 5 votes |
@Bean("autoloadCacheDeleteAdvisor") @ConditionalOnBean(CacheDeleteInterceptor.class) public AbstractPointcutAdvisor autoloadCacheDeleteAdvisor(CacheDeleteInterceptor cacheDeleteInterceptor) { AbstractPointcutAdvisor cacheDeleteAdvisor = new MethodAnnotationPointcutAdvisor(CacheDelete.class, cacheDeleteInterceptor); cacheDeleteAdvisor.setOrder(config.getDeleteCacheOrder()); return cacheDeleteAdvisor; }
Example #3
Source File: AutoloadCacheAutoConfigure.java From AutoLoadCache with Apache License 2.0 | 5 votes |
@Bean("autoloadCacheDeleteTransactionalAdvisor") @ConditionalOnBean(CacheDeleteTransactionalInterceptor.class) public AbstractPointcutAdvisor autoloadCacheDeleteTransactionalAdvisor( CacheDeleteTransactionalInterceptor cacheDeleteTransactionalInterceptor) { AbstractPointcutAdvisor cacheDeleteTransactionalAdvisor = new MethodAnnotationPointcutAdvisor( CacheDeleteTransactional.class, cacheDeleteTransactionalInterceptor); cacheDeleteTransactionalAdvisor.setOrder(config.getDeleteCacheTransactionalOrder()); return cacheDeleteTransactionalAdvisor; }