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