// search rb in repository
IResourceBundle result = ResourceBundleRepository.get(key);
// create rb and add to repository
if (null==result){
result = new ClassResourceBundle(baseName, locale, classloader);
if (result.isActive()) {
ResourceBundleRepository.add(key, result);
} else {
result = new FileResourceBundle(baseName, locale);
if (result.isActive())