01: package org.enhydra.util.chiba;
02:
03: import org.chiba.adapter.AbstractChibaAdapter;
04: import org.w3c.dom.events.EventListener;
05:
06: /**
07: * AbstractChibaAdapter extension with flag system support that helps with
08: * implementin adapter reinitialization (performance improvement)
09: *
10: * @author Slobodan Vujasinovic
11: * @version $Id: BaseAdapter.java,v 1.1 2007-05-17 12:52:55 sinisa Exp $
12: */
13: public abstract class BaseAdapter extends AbstractChibaAdapter
14: implements EventListener {
15: public boolean clean = false;
16:
17: public void setClean(boolean clean) {
18: this .clean = clean;
19: }
20:
21: public boolean isClean() {
22: return this.clean;
23: }
24: }
|