Map<StatusType, Callback> activeMap = new HashMap<StatusType, Callback>();
activeMap.put(StatusType.monitor, new ReassignTransitionCallback(data,topologyid));
activeMap.put(StatusType.inactive, new InactiveTransitionCallback());
activeMap.put(StatusType.activate, null);
activeMap.put(StatusType.rebalance, new RebalanceTransitionCallback(data,topologyid, status));
activeMap.put(StatusType.kill, new KillTransitionCallback(data, topologyid,status));
rtn.put(StatusType.active, activeMap);
Map<StatusType, Callback> inactiveMap = new HashMap<StatusType, Callback>();
inactiveMap.put(StatusType.monitor, new ReassignTransitionCallback(data,topologyid));
inactiveMap.put(StatusType.activate, new ActiveTransitionCallback());
inactiveMap.put(StatusType.inactivate, null);
inactiveMap.put(StatusType.rebalance, new RebalanceTransitionCallback(data,topologyid, status));
inactiveMap.put(StatusType.kill, new KillTransitionCallback(data, topologyid,status));
rtn.put(StatusType.inactive, inactiveMap);
Map<StatusType, Callback> killedMap = new HashMap<StatusType, Callback>();