[infinispan-dev] Obtaining TransactionManager in an Easy Way

Amin Abbaspour a.abbaspour at gmail.com
Mon Jan 25 13:49:29 EST 2010


Hi,

Oops, sorry, it was there. I don't know why it didn't catch my eyes.
I use JBossTM btw.

Thanks
Amin

On Mon, Jan 25, 2010 at 7:33 PM, Mircea Markus <mircea.markus at jboss.com> wrote:
> Alternatively, you should be able to use the logic in the TransactionManagerLookup implementation. This is how ISPN has access to the TM, and it's up to you as a user to specify how ISPN accesses the TM. I guess you're using dummy TM, right?
>
>
> On 25 Jan 2010, at 14:11, Galder Zamarreno wrote:
>
>>
>>
>> On 01/23/2010 07:13 AM, Amin Abbaspour wrote:
>>> Hi All,
>>>
>>> Why there is no easy way to get TransactionManager from
>>> (Advanced)Cache?
>>
>> Where are you looking? AdvancedCache has getTransactionManager() since
>> last month and this is included in CR3.
>>
>> I can see that you do reflection in
>>> TestingUtil.getTransactionManager in order to get TM. BTW TestingUtil
>>> is in test and not available unless one builds custom jars.
>>>
>>> Regards,
>>> Amin Abbaspour
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>> --
>> Galder Zamarreño
>> Sr. Software Engineer
>> Infinispan, JBoss Cache
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>



More information about the infinispan-dev mailing list