/** {@inheritDoc} */
 @Override
 public String toString() {
   ClientSessionImpl sessionImpl = null;
   try {
     sessionImpl = sessionRef.get();
   } catch (ObjectNotFoundException e) {
   }
   return getClass().getName()
       + "["
       + (sessionImpl == null ? "(not found)" : sessionImpl.toString())
       + "]";
 }
 CommitActions(ClientSessionImpl sessionImpl) {
   if (sessionImpl == null) {
     throw new NullPointerException("null sessionImpl");
   }
   this.sessionRefId = sessionImpl.getId();
 }
 /** {@inheritDoc} */
 public void run() {
   DataService dataService = ClientSessionServiceImpl.getDataService();
   ClientSessionImpl sessionImpl = (ClientSessionImpl) dataService.getServiceBinding(key);
   sessionImpl.notifyListenerAndRemoveSession(dataService, false, true);
 }