juergen 01/04/03 02:08:19
Modified: src/share/org/apache/slide/store AbstractStore.java
Log:
added the setScope delegation method (again).
Revision Changes Path
1.13 +12 -0
jakarta-slide/src/share/org/apache/slide/store/AbstractStore.java
Index: AbstractStore.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/share/org/apache/slide/store/AbstractStore.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- AbstractStore.java 2001/04/03 09:03:33 1.12
+++ AbstractStore.java 2001/04/03 09:08:19 1.13
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-slide/src/share/org/apache/slide/store/AbstractStore.java,v 1.12
2001/04/03 09:03:33 juergen Exp $
- * $Revision: 1.12 $
- * $Date: 2001/04/03 09:03:33 $
+ * $Header:
/home/cvs/jakarta-slide/src/share/org/apache/slide/store/AbstractStore.java,v 1.13
2001/04/03 09:08:19 juergen Exp $
+ * $Revision: 1.13 $
+ * $Date: 2001/04/03 09:08:19 $
*
* ====================================================================
*
@@ -88,7 +88,7 @@
* Abstract implementation of a store. Handles all caching operations.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Remy Maucherat</a>
- * @version $Revision: 1.12 $
+ * @version $Revision: 1.13 $
*/
public abstract class AbstractStore extends AbstractSimpleService
implements Store {
@@ -173,6 +173,18 @@
*/
public String getName() {
return this.name;
+ }
+
+
+
+ /**
+ * Set the scope of the store as specified in domain.xml.
+ */
+ public void setScope(Scope scope) {
+ super.setScope(scope);
+ for (int i = 0; i < resourceManagers.length; i++) {
+ resourceManagers[i].setScope(scope);
+ }
}