commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject commons-transaction : constructor needed in org.apache.commons.transaction.file.FileResourceManager for jakarta-slide
Date Mon, 19 Feb 2007 03:03:33 GMT

Hi,

org.apache.commons.transaction.file.FileResourceManager used to have  
a constructor

FileResourceManager 
(java.lang.String,java.lang.String,org.apache.commons.transaction.file.R 
esourceIdToPathMapper,org.apache.slide.util.logger.TxLogger,boolean)

this constructor was changed to

FileResourceManager(
         String storeDir,
         String workDir,
         ResourceIdToPathMapper idMapper,
         TransactionIdToPathMapper txIdMapper,
         LoggerFacade logger,
         boolean debug)

in this change :

Revision 416152 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 21 22:57:28 2006 UTC (7 months, 4 weeks ago) by joerg
File length: 64253 byte(s)
Diff to previous 408874 (colored)
introduce TransactionIdToPathMapper interface:
the former version just with getTransactionBaseDir(), which could be  
overridden,
suffered from a problem in recoverContexts() where also an 1:1- 
matching of txId to path was assumed

Now we have the problem that jakarta-slide AbstractTxFileStoreService  
uses the old version of the constructor without the  
TransactionIdToPathMapper argument.

There has been no release of commons-transaction since this new  
argument was added.

So I think commons-transaction should readd the old version of the  
constructor in the FileResourceManager class.

Best regards,

Antoine Levy-Lambert


extract of gump output

    [javac] /x1/gump/public/workspace/jakarta-slide/src/stores/org/ 
apache/slide/store/txfile/AbstractTxFileStoreService.java:112: cannot  
find symbol
     [javac] symbol  : constructor FileResourceManager 
(java.lang.String,java.lang.String,org.apache.commons.transaction.file.R 
esourceIdToPathMapper,org.apache.slide.util.logger.TxLogger,boolean)
     [javac] location: class  
org.apache.commons.transaction.file.FileResourceManager
     [javac]             new FileResourceManager(
     [javac]             ^
     [javac] Note: Some input files additionally use or over

http://svn.apache.org/viewvc/jakarta/commons/proper/transaction/trunk/ 
src/java/org/apache/commons/transaction/file/FileResourceManager.java


Revision 416152 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 21 22:57:28 2006 UTC (7 months, 4 weeks ago) by joerg
File length: 64253 byte(s)
Diff to previous 408874 (colored)
introduce TransactionIdToPathMapper interface:
the former version just with getTransactionBaseDir(), which could be  
overridden,
suffered from a problem in recoverContexts() where also an 1:1- 
matching of txId to path was assumed

≈Revision 142105 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 18 23:19:09 2004 UTC (2 years, 2 months ago) by  
ozeigermann
File length: 61547 byte(s)
Diff to previous 142087 (colored)
Added support for configurable resource id to path mapping as
proposed by Antranig Basman
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message