Exemple #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();
   }
 }
Exemple #2
0
 XceStormNodeUserListenerImpl() {
   Map<Integer, Integer> map = NodeUserCommonLogic.getInstance().getAllNodeUser();
   if (map != null) {
     nodeUsers.putAll(map);
   }
 }