Map<QName, ExtensionValidator> validators = new HashMap<QName, ExtensionValidator>();
for (StringTokenizer tokenizer = new StringTokenizer(extensionsValStr, ",;"); tokenizer.hasMoreTokens();) {
String bundleCN = tokenizer.nextToken();
try {
// instantiate bundle
ExtensionBundleValidation bundleVal = (ExtensionBundleValidation) Class.forName(bundleCN).newInstance();
//add validators
validators.putAll(bundleVal.getExtensionValidators());
} catch (Exception e) {
__log.warn("Couldn't register the extension bundle validator " + bundleCN + ", the class couldn't be " +
"loaded properly.");
}
}