You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Jörg Heinicke (JIRA)" <ji...@apache.org> on 2007/01/08 22:55:27 UTC

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

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

Jörg Heinicke resolved TRANSACTION-11.
--------------------------------------

    Resolution: Fixed

Added both reset() and setDefaultTransactionTimeout().

reset(): It's better to extend the interface than forcing to cast to class.

setDefaultTransactionTimeout(): It will be needed for JTA/JCA as well as it does not know transaction specific timeout. It's also only consistent with getDefaultTransactionTimeout() already existing.

Both changes should have nearly no effect as FileResourceManager already implements those functions. If there are other implementations of ResourceManager out there, those both functions are trivial to implement.

> 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
>         Assigned To: Jörg Heinicke
>             Fix For: 1.2
>
>         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: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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