01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail;
07:
08: /**
09: * An interface for Sails that can be stacked on top of other Sails.
10: */
11: public interface StackableSail extends Sail {
12:
13: /**
14: * Sets the base Sail that this Sail will work on top of. This method
15: * will be called before the initialize() method is called.
16: */
17: public void setBaseSail(Sail baseSail);
18:
19: /**
20: * Gets the base Sail that this Sail works on top of.
21: */
22: public Sail getBaseSail();
23: }
|