109110111112113114115116117118
public synchronized void register() { if(isRegistered){ return; } MonitoringManagerStore store = MonitoringManagerStore.getInstance(); store.registerMonitoringManager(CLB, this, new CLBMonitoringLevelListener()); isRegistered = true; }
251252253254255256257258259
public void addNode(String node, Layer provider) { nodes.put(node, provider); } public void register() { MonitoringManagerStore store = MonitoringManagerStore.getInstance(); store.registerMonitoringManager(SIP_SERVICE, this, this); }