code: public void addListener(UserTransactionListener listener)
     {
        UserTransactionListenerImpl impl = new UserTransactionListenerImpl(listener);
  
        delegator.addListener(impl);
        listeners.put(listener, impl);
     }
docs: Add a listener
  @param listener The listener