[Mulgara-svn] r1174 - trunk/src/jar/store-stringpool-xa11/java/org/mulgara/store/stringpool/xa11
pag at mulgara.org
pag at mulgara.org
Sat Aug 23 06:02:12 UTC 2008
Author: pag
Date: 2008-08-22 23:02:11 -0700 (Fri, 22 Aug 2008)
New Revision: 1174
Modified:
trunk/src/jar/store-stringpool-xa11/java/org/mulgara/store/stringpool/xa11/XA11StringPoolFactory.java
Log:
Using the same factory for node pools as string pools, since the same pool does both jobs
Modified: trunk/src/jar/store-stringpool-xa11/java/org/mulgara/store/stringpool/xa11/XA11StringPoolFactory.java
===================================================================
--- trunk/src/jar/store-stringpool-xa11/java/org/mulgara/store/stringpool/xa11/XA11StringPoolFactory.java 2008-08-23 06:01:14 UTC (rev 1173)
+++ trunk/src/jar/store-stringpool-xa11/java/org/mulgara/store/stringpool/xa11/XA11StringPoolFactory.java 2008-08-23 06:02:11 UTC (rev 1174)
@@ -23,6 +23,9 @@
// Local packages
import org.mulgara.resolver.spi.FactoryInitializer;
import org.mulgara.resolver.spi.InitializerException;
+import org.mulgara.store.nodepool.NodePool;
+import org.mulgara.store.nodepool.NodePoolException;
+import org.mulgara.store.nodepool.NodePoolFactory;
import org.mulgara.store.stringpool.StringPool;
import org.mulgara.store.stringpool.StringPoolException;
import org.mulgara.store.stringpool.StringPoolFactory;
@@ -35,7 +38,7 @@
* @copyright © 2008 <a href="http://www.topazproject.org/">The Topaz Project</a>
* @licence <a href="{@docRoot}/../../LICENCE.txt">Open Software License v3.0</a>
*/
-public class XA11StringPoolFactory implements StringPoolFactory {
+public class XA11StringPoolFactory implements StringPoolFactory, NodePoolFactory {
/** Logger. */
private static final Logger logger = Logger.getLogger(XA11StringPoolFactory.class.getName());
@@ -89,4 +92,8 @@
throw new StringPoolException("Couldn't construct string pool", e);
}
}
+
+ public NodePool newNodePool() throws NodePoolException {
+ return null;
+ }
}
More information about the Mulgara-svn
mailing list