Exemplo n.º 1
0
 /** {@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();
 }
Exemplo n.º 3
0
 /** {@inheritDoc} */
 public void run() {
   DataService dataService = ClientSessionServiceImpl.getDataService();
   ClientSessionImpl sessionImpl = (ClientSessionImpl) dataService.getServiceBinding(key);
   sessionImpl.notifyListenerAndRemoveSession(dataService, false, true);
 }