From: <ad...@jb...> - 2005-05-31 22:52:08
|
The difference is in the implementation details: TransactionLocal | protected void initDelegate() | { | if (transactionManager instanceof TransactionLocalDelegate) | delegate = (TransactionLocalDelegate) transactionManager; | else | delegate = new TransactionLocalDelegateImpl(transactionManager); | } | It could equally use the passed TransactionLocal rather than the implementation since there is a one-one correspondance. There is one object per transaction, see TransactionLocalSynchronization.valuesByLocal with the synchronization being transaction scoped. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879662#3879662 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879662 |