commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r509474 - /jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java
Date Tue, 20 Feb 2007 09:04:23 GMT
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


Mime
View raw message