ru.yandex.qatools.camelot.maven.web.ConfigurableCacheStrategy Maven / Gradle / Ivy
package ru.yandex.qatools.camelot.maven.web;
import org.springframework.context.ApplicationContext;
import ro.isdc.wro.cache.CacheKey;
import ro.isdc.wro.cache.CacheValue;
/**
* @author Ilya Sadykov (mailto: [email protected])
*/
public class ConfigurableCacheStrategy extends ro.isdc.wro.cache.ConfigurableCacheStrategy {
final ApplicationContext context;
public ConfigurableCacheStrategy(ApplicationContext context) {
this.context = context;
}
@Override
public void put(CacheKey key, CacheValue value) {
if (!key.getGroupName().equals("plugins")) {
super.put(key, value);
}
}
}