Package org.jboss.dashboard.database.cache

Examples of org.jboss.dashboard.database.cache.CacheConfigurationGenerator


                fileContent = StringUtils.replace(fileContent, "class=\"native\"/>", line);
                fileContent = StringUtils.replace(fileContent, "class=\"native\" />", line);
            }
        }

        CacheConfigurationGenerator configGenerator = getCacheConfigurationManager().getConfigGenerator();
        String cacheUsage = null;
        if (configGenerator != null) {
            cacheUsage = configGenerator.getCacheUsage();
        }
        if (cacheUsage != null) { //Replace the cache usage
            String oldCacheUsage = "<cache usage=\"transactional\"/>";
            String newCacheUsage = "<cache usage=\"" + cacheUsage + "\"/>";
            fileContent = StringUtils.replace(fileContent, oldCacheUsage, newCacheUsage);
View Full Code Here

TOP

Related Classes of org.jboss.dashboard.database.cache.CacheConfigurationGenerator

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.