예제 #1
0
 @Override
 protected void _sessionTerminating(WOSession wosession) {
   synchronized (this) {
     super._sessionTerminating(wosession);
     sessions.removeObject(wosession);
   }
 }
예제 #2
0
 public void cancel() {
   ec.revert();
   // NSDictionary snapshot = ec.committedSnapshotForObject(onEdit);
   if (ec.insertedObjects().contains(item)) {
     NSMutableArray fullList = (NSMutableArray) session().valueForKey("personList");
     fullList.removeObject(item);
   }
   //		onEdit = null;
 }
예제 #3
0
 /**
  * Removes the given route from this request handler.
  *
  * @param route the route to remove
  */
 public void removeRoute(ERXRoute route) {
   _routes.removeObject(route);
 }