KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > prevayler > demos > demo2 > business > transactions > BankTransaction


1 package org.prevayler.demos.demo2.business.transactions;
2
3 import java.util.Date JavaDoc;
4
5 import org.prevayler.TransactionWithQuery;
6 import org.prevayler.demos.demo2.business.Bank;
7
8 public abstract class BankTransaction implements TransactionWithQuery {
9
10     public Object JavaDoc executeAndQuery(Object JavaDoc bank, Date JavaDoc timestamp) throws Exception JavaDoc {
11         return executeAndQuery((Bank)bank, timestamp);
12     }
13
14     protected abstract Object JavaDoc executeAndQuery(Bank bank, Date JavaDoc timestamp) throws Exception JavaDoc;
15 }
16
Popular Tags