private ApplicationInstanceFactoryMetadataMap<String,Object> getClassMetadataMap(ServletContext sc) {
ApplicationInstanceFactoryMetadataMap<String,Object> classMetadataMap =
(ApplicationInstanceFactoryMetadataMap<String,Object>) sc.getAttribute(getClassMetadataMapKey());
if (null == classMetadataMap) {
classMetadataMap = new ApplicationInstanceFactoryMetadataMap(new ConcurrentHashMap<String, Object>());
sc.setAttribute(getClassMetadataMapKey(), classMetadataMap);
}
return classMetadataMap;
}