[ http://issues.apache.org/jira/browse/GERONIMO-2084?page=all ]

Guillaume Nodet updated GERONIMO-2084:
--------------------------------------

    Attachment: GERONIMO-2084.patch

This patch allows the TransactionContextManager to be used from unmanaged 
threads

> The transaction manager needs uncesseraly ties users to the 
> TransactionContextManager implementation
> ----------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-2084
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2084
>      Project: Geronimo
>         Type: Improvement
>     Security: public(Regular issues) 
>   Components: transaction manager
>     Reporter: Guillaume Nodet
>  Attachments: GERONIMO-2084.patch
>
> When integrating the Geronimo transaction manager, all threads have to call 
> the 
>      TransactionContextManager.newUnspecifiedTransactionContext()
> to be able to begin a transaction by using the
>     TransactionContextManager.newBeanTransactionContext
> which is called when using the UserTransaction.
> This is done by geronimo modules, but when using the transaction layer 
> outside of geronimo, this
> requirement ties the project to geronimo implementation, or a need to wrap it.
> This could be easily avoided with the attached patch, which create a context 
> is none exist for the current thread.

-- 
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

Reply via email to