@Override public void handle(Map<String, String> context) { try { nodeUsers.clear(); Map<Integer, Integer> map = NodeUserCommonLogic.getInstance().getAllNodeUser(); if (map != null) { nodeUsers.putAll(map); } } catch (Exception e) { e.printStackTrace(); } }
XceStormNodeUserListenerImpl() { Map<Integer, Integer> map = NodeUserCommonLogic.getInstance().getAllNodeUser(); if (map != null) { nodeUsers.putAll(map); } }