for (int i = 0; i < clusters.length; i++) {
final String nameProp = AMX.NAME_KEY + '=' + clusters[i];
final String props = Util.concatenateProps(j2eeTypeProp, nameProp);
final ObjectName on = JMXUtil.newObjectName(amxJMXDomain, props);
try {
mbs.registerMBean(new J2EEClusterImpl(null), on);
_logger.info(on + " is registered.");
} catch (Exception e) {
throw new RuntimeException(e.getMessage());
}
}