[ 
https://issues.apache.org/jira/browse/TRANSACTION-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512958
 ] 

Jörg Heinicke commented on TRANSACTION-11:
------------------------------------------

Yes, the two methods should definitely be added to the interface(s). I haven't 
had a look on the new stuff so I don't know exactly where they have to be added 
to. If there is a TransactionManager interface it should have the 
setDefaultTransactionTimeout(long) method. If there is a ResourceManager and 
reset() is of general use (which I'd assume if there is an implementation for 
FileResourceManager) reset() has to be added to that interface.

> Improve relationship between ResourceManager and FileResourceManager
> --------------------------------------------------------------------
>
>                 Key: TRANSACTION-11
>                 URL: https://issues.apache.org/jira/browse/TRANSACTION-11
>             Project: Commons Transaction
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: Jeremy Fujimoto-Johnson
>            Assignee: Jörg Heinicke
>             Fix For: 2.0
>
>         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.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to