com.jquicker.cache.CacheAspect Maven / Gradle / Ivy
package com.jquicker.cache;
import com.jquicker.annotation.aop.Aspect;
/**
* @author OL
*/
@Aspect
public class CacheAspect {
private String prefix = "";
public CacheAspect(String prefix) {
this.prefix = prefix == null ? "" : prefix + "-";
}
public void addPrefix(Object[] args) {
if(args.length > 0) {
args[0] = prefix + args[0];
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy