* @return Configuration as <code>CRConfigFileLoader</code>
*/
public static CRConfigFileLoader getConfig(final String key, final String webapproot, final String subdir) {
assertStaticAttributesInitialized();
CRConfigFileLoader config = configmap.get(key);
if (config == null) {
log.debug("Config not found, will create new config instance.");
CRConfigFileLoader newConfig
= new CRConfigFileLoader(key, webapproot, subdir);
if (newConfig != null) {
config = configmap.putIfAbsent(key, newConfig);
if (config == null) {
config = newConfig;
}