jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r473268 - /jackrabbit/trunk/contrib/spi/client/src/test/java/org/apache/jackrabbit/jcr2spi/JCR2SPIRepositoryStub.java
Date Fri, 10 Nov 2006 08:56:30 GMT
Author: angela
Date: Fri Nov 10 00:56:30 2006
New Revision: 473268

URL: http://svn.apache.org/viewvc?view=rev&rev=473268
Log:
work in progress

adjust to latest changes

Modified:
    jackrabbit/trunk/contrib/spi/client/src/test/java/org/apache/jackrabbit/jcr2spi/JCR2SPIRepositoryStub.java

Modified: jackrabbit/trunk/contrib/spi/client/src/test/java/org/apache/jackrabbit/jcr2spi/JCR2SPIRepositoryStub.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/client/src/test/java/org/apache/jackrabbit/jcr2spi/JCR2SPIRepositoryStub.java?view=diff&rev=473268&r1=473267&r2=473268
==============================================================================
--- jackrabbit/trunk/contrib/spi/client/src/test/java/org/apache/jackrabbit/jcr2spi/JCR2SPIRepositoryStub.java
(original)
+++ jackrabbit/trunk/contrib/spi/client/src/test/java/org/apache/jackrabbit/jcr2spi/JCR2SPIRepositoryStub.java
Fri Nov 10 00:56:30 2006
@@ -21,13 +21,13 @@
 import org.apache.jackrabbit.spi2dav.IdFactoryImpl;
 import org.apache.jackrabbit.spi2dav.ValueFactoryImpl;
 import org.apache.jackrabbit.jcr2spi.config.RepositoryConfig;
+import org.apache.jackrabbit.jcr2spi.config.CacheMaintenance;
 import org.apache.jackrabbit.spi.RepositoryService;
 import org.apache.jackrabbit.spi.IdFactory;
 import org.apache.log4j.PropertyConfigurator;
 
 import javax.jcr.Repository;
 import javax.jcr.ValueFactory;
-import javax.jcr.RepositoryException;
 import java.util.Properties;
 
 /**
@@ -76,13 +76,17 @@
                         return webdavRepoService;
                     }
 
-                    public ValueFactory getValueFactory() throws RepositoryException {
+                    public ValueFactory getValueFactory() {
                         return vFactory;
                     }
 
                     public String getDefaultWorkspaceName() {
                         String name = environment.getProperty(PROP_WORKSPACE_NAME);
                         return name;
+                    }
+
+                    public CacheMaintenance getCacheMaintenanceStrategy() {
+                        return CacheMaintenance.OBSERVATION;
                     }
                 };
 



Mime
View raw message