Exemple #1
0
 void removeTrigger__wrappee__base(DatabaseTrigger trigger) throws DatabaseException {
   acquireTriggerListWriteLock();
   try {
     triggerList.remove(trigger);
     trigger.triggerRemoved(this);
   } finally {
     releaseTriggerListWriteLock();
   }
 }
Exemple #2
0
 private void removeAllTriggers__wrappee__base() throws DatabaseException {
   acquireTriggerListWriteLock();
   try {
     for (int i = 0; i < triggerList.size(); i += 1) {
       DatabaseTrigger trigger = (DatabaseTrigger) triggerList.get(i);
       trigger.triggerRemoved(this);
     }
     triggerList.clear();
   } finally {
     releaseTriggerListWriteLock();
   }
 }