com.yoloho.enhanced.cache.support.CacheEvictConfig Maven / Gradle / Ivy
package com.yoloho.enhanced.cache.support;
import java.lang.reflect.Method;
import java.util.List;
import org.springframework.context.expression.AnnotatedElementKey;
public class CacheEvictConfig {
private List groups;
private List keys;
private AnnotatedElementKey methodKey;
public CacheEvictConfig(List groups, List keys, Method method, Class> targetClass) {
this.groups = groups;
this.keys = keys;
setMethodKey(method, targetClass);
}
public List getGroups() {
return groups;
}
public void setGroups(List groups) {
this.groups = groups;
}
public List getKeys() {
return keys;
}
public void setKeys(List keys) {
this.keys = keys;
}
public AnnotatedElementKey getMethodKey() {
return methodKey;
}
public void setMethodKey(Method method, Class> targetClass) {
this.methodKey = new AnnotatedElementKey(method, targetClass);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy