KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > prevayler > implementation > publishing > censorship > TransactionCensor


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 JavaDoc;
8
9 import org.prevayler.Transaction;
10
11 public interface TransactionCensor {
12     
13     public void approve(Transaction transaction, Date JavaDoc executionTime) throws RuntimeException JavaDoc, Error JavaDoc;
14
15 }
Popular Tags