}
public void registerCLBStats(String nodeName, Stats statsImpl,
Class statsInterface) throws MonitoringRegistrationException {
final StatsHolder clbStats = getCLBMonitoringStatsHolder();
MonitoredObjectType moType = MonitoredObjectType.
newMonitoredObjectType(nodeName, false);
final StatsHolder moNode = clbStats.addChild(nodeName, moType);
assert (moNode != null) :
"MRH:registerStats - Initialization failed for " + nodeName;
moNode.setObjectName(MonitoringObjectNames.
getMonitoredObjectName(moType.getTypeName()));
moNode.setDottedName(DottedNameFactory.
getDottedName(moType.getTypeName(), clbStats.getName()));
moNode.setStats(statsImpl);
moNode.setStatsClass(statsInterface);
logger.log(Level.INFO, "clb.created_clb_monitoring_node",
new Object[]{nodeName});
}