//mutate the passed params
params.put(CustomMBeanConstants.NAME_KEY, name);
params.put(CustomMBeanConstants.OBJECT_NAME_KEY, onPostReg.toString());
if (ServerBeansFactory.getMBeanDefinition(this.acc, name) == null) {
checkObjectNameUniquenessForSameTarget(target, onPostReg);
final Mbean md = MBeanValidator.toMbean(params, attributes, true);
ServerBeansFactory.addMbeanDefinition(this.acc, md);
definitionCreated = true;
}
else {
final String msg = CMBStrings.get("cmb.ee.defExists", name);