Properties configProps = getProperties();
if (configProps.containsKey(propName)) {
String parserClassName = configProps.getProperty(propName);
Class<?> parserClass = classLoadingUtil.loadClass(parserClassName);
Object parserObject = parserClass.newInstance();
HolidayParser hp = HolidayParser.class.cast(parserObject);
parserCache.put(className, hp);
}
}
if (parserCache.containsKey(className)) {
parsers.add(parserCache.get(className));