1 //Prevayler(TM) - The Free-Software Prevalence Layer. 2 //Copyright (C) 2001-2003 Klaus Wuestefeld 3 //This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 4 5 package org.prevayler.implementation.publishing.censorship; 6 7 import java.util.Date; 8 9 import org.prevayler.Transaction; 10 11 public interface TransactionCensor { 12 13 public void approve(Transaction transaction, Date executionTime) throws RuntimeException, Error; 14 15 }