Package net.sf.ehcache.constructs

Examples of net.sf.ehcache.constructs.CacheDecoratorFactory


        String className = factoryConfiguration.getFullyQualifiedClassPath();
        if (className == null) {
            LOG.debug("CacheDecoratorFactory was specified without the name of the factory. Skipping...");
            return null;
        } else {
            CacheDecoratorFactory factory = (CacheDecoratorFactory) ClassLoaderUtil.createNewInstance(className);
            Properties properties = PropertyUtil.parseProperties(factoryConfiguration.getProperties(),
                    factoryConfiguration.getPropertySeparator());
            if (forDefaultCache) {
                return factory.createDefaultDecoratedEhcache(cache, properties);
            } else {
                return factory.createDecoratedEhcache(cache, properties);
            }
        }
    }
View Full Code Here

TOP

Related Classes of net.sf.ehcache.constructs.CacheDecoratorFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.