KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tirsen > nanning > samples > prevayler > FilterPrevayler


1 package com.tirsen.nanning.samples.prevayler;
2
3 import org.prevayler.Prevayler;
4 import org.prevayler.Transaction;
5
6 public class FilterPrevayler implements Prevayler {
7     protected Prevayler prevayler;
8
9     public FilterPrevayler(Prevayler prevayler) {
10         this.prevayler = prevayler;
11     }
12
13     public Prevayler getWrappedPrevayler() {
14         return prevayler;
15     }
16     
17     public void execute(Transaction transaction) {
18         prevayler.execute(transaction);
19     }
20
21     public Object JavaDoc prevalentSystem() {
22         return prevayler.prevalentSystem();
23     }
24 }
25
Popular Tags