commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Heinicke (JIRA) <>
Subject [jira] Resolved: (TRANSACTION-11) Improve relationship between ResourceManager and FileResourceManager
Date Mon, 08 Jan 2007 21:55:27 GMT


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:
>             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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message