[jira] Commented: (TRANSACTION-11) Improve relationship between ResourceManager and FileResourceManager

2006-08-02 Thread Jeremy Fujimoto-Johnson (JIRA)
[ 
http://issues.apache.org/jira/browse/TRANSACTION-11?page=comments#action_12425272
 ] 

Jeremy Fujimoto-Johnson commented on TRANSACTION-11:


Actually, in the attached patch there isn't a setDefaultTransactionTimeout() 
method added to the ResourceManager interface. But that solution would meet my 
needs as well. I can see that that there would be an advantage in not making as 
big of a change as adding new constructors to FileResourceManager.

 Improve relationship between ResourceManager and FileResourceManager
 

 Key: TRANSACTION-11
 URL: http://issues.apache.org/jira/browse/TRANSACTION-11
 Project: Commons Transaction
  Issue Type: Improvement
Affects Versions: 1.1, 1.2
Reporter: Jeremy Fujimoto-Johnson
 Assigned To: Oliver Zeigermann
 Attachments: commons-transaction-rm-patch.txt


 Add the reset method to ResourceManager so that classes using a 
 ResourceManager won't have to cast it to FileResourceManager to call this 
 method.
 Add new constructors to FileResourceManager so that it can be constructed 
 with the default timeout period for transactions already specified so that 
 you don't have to cast to FileResourceManager to set it later.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (TRANSACTION-11) Improve relationship between ResourceManager and FileResourceManager

2006-08-01 Thread Jeremy Fujimoto-Johnson (JIRA)
[ 
http://issues.apache.org/jira/browse/TRANSACTION-11?page=comments#action_12424899
 ] 

Jeremy Fujimoto-Johnson commented on TRANSACTION-11:


I apologize for marking this issue with too high of a priority. I just took the 
default and didn't pay enough attention.

However, on the second point: the reason I want this change is that I am 
implementing another implementation of ResourceManager. I want to be able to 
switch between FileResourceManager and my new implementation by configuration 
for use in the Slide project. It would be significantly easier for me to do so 
if FileResourceManager implemented an interface that could be used as the type 
referenced in AbstractTxFileStoreService and XMLResourceDescriptor. Fortunately 
there almost is one: ResourceManager. Unfortunately there are two methods used 
that aren't part of the ResourceManager interface: setDefaultTransactoinTimeout 
and reset. Thus my patch. Now my new implementation of ResourceManager and 
FileResourceManager can each be used in Slide.

 Improve relationship between ResourceManager and FileResourceManager
 

 Key: TRANSACTION-11
 URL: http://issues.apache.org/jira/browse/TRANSACTION-11
 Project: Commons Transaction
  Issue Type: Improvement
Affects Versions: 1.1, 1.2
Reporter: Jeremy Fujimoto-Johnson
 Assigned To: Oliver Zeigermann
 Attachments: commons-transaction-rm-patch.txt


 Add the reset method to ResourceManager so that classes using a 
 ResourceManager won't have to cast it to FileResourceManager to call this 
 method.
 Add new constructors to FileResourceManager so that it can be constructed 
 with the default timeout period for transactions already specified so that 
 you don't have to cast to FileResourceManager to set it later.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (TRANSACTION-11) Improve relationship between ResourceManager and FileResourceManager

2006-07-31 Thread Jeremy Fujimoto-Johnson (JIRA)
Improve relationship between ResourceManager and FileResourceManager


 Key: TRANSACTION-11
 URL: http://issues.apache.org/jira/browse/TRANSACTION-11
 Project: Commons Transaction
  Issue Type: Improvement
Affects Versions: 1.1, 1.2
Reporter: Jeremy Fujimoto-Johnson


Add the reset method to ResourceManager so that classes using a ResourceManager 
won't have to cast it to FileResourceManager to call this method.
Add new constructors to FileResourceManager so that it can be constructed with 
the default timeout period for transactions already specified so that you don't 
have to cast to FileResourceManager to set it later.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]