public Cache<K, V> createCache(String configFileName) throws ConfigurationException {
return createCache(configFileName, true);
}
public Cache<K, V> createCache(String configFileName, boolean start) throws ConfigurationException {
XmlConfigurationParser parser = new XmlConfigurationParser();
Configuration c;
try {
c = parser.parseFile(configFileName);
}
catch (ConfigurationException e) {
if (log.isTraceEnabled()) {
log.trace("Had problems parsing configuration file.", e);
log.trace("Attempting to use a legacy parser.");