callbacks.add(callback);
keyedCallbacks.add(callback);
   public void addKeyedCallback(TxCallback callback, Object key)   {      callbacks.add(callback);            keyedCallbackMap.put(key, callback);   } 