Пример #1
0
 @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();
   }
 }
Пример #2
0
 XceStormNodeUserListenerImpl() {
   Map<Integer, Integer> map = NodeUserCommonLogic.getInstance().getAllNodeUser();
   if (map != null) {
     nodeUsers.putAll(map);
   }
 }