You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by an...@apache.org on 2007/02/20 10:04:23 UTC

svn commit: r509474 - /jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java

Author: antoine
Date: Tue Feb 20 01:04:22 2007
New Revision: 509474

URL: http://svn.apache.org/viewvc?view=rev&rev=509474
Log:
reintroduce constructor required for jakarta-slide

Modified:
    jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java

Modified: jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java?view=diff&rev=509474&r1=509473&r2=509474
==============================================================================
--- jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java (original)
+++ jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java Tue Feb 20 01:04:22 2007
@@ -234,6 +234,24 @@
 
     /**
      * Creates a new resource manager operation on the specified directories.
+     * This constructor is reintroduced for backwards API compatibility and is used by jakarta-slide.
+     *
+     * @param storeDir directory where main data should go after commit
+     * @param workDir directory where transactions store temporary data
+     * @param idMapper mapper for resourceId to path
+     * @param logger the logger to be used by this store
+     * @param debug if set to <code>true</code> logs all locking information to "transaction.log" for debugging inspection
+     */
+    public FileResourceManager(
+        String storeDir,
+        String workDir,
+        ResourceIdToPathMapper idMapper,
+        LoggerFacade logger,
+        boolean debug) {
+        this(storeDir, workDir, idMapper, new NoOpTransactionIdToPathMapper(), logger, debug);
+    }
+    /**
+     * Creates a new resource manager operation on the specified directories.
      * 
      * @param storeDir directory where main data should go after commit
      * @param workDir directory where transactions store temporary data 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org