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

ru.yandex.qatools.camelot.maven.web.ConfigurableCacheStrategy Maven / Gradle / Ivy

The newest version!
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 { //NOSONAR

    final ApplicationContext context;

    public ConfigurableCacheStrategy(ApplicationContext context) {
        this.context = context;
    }

    @Override
    public void put(CacheKey key, CacheValue value) {
        if (!"plugins".equals(key.getGroupName())) {
            super.put(key, value);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy