[infinispan-dev] Obtaining TransactionManager in an Easy Way

Mircea Markus mircea.markus at jboss.com
Mon Jan 25 11:03:10 EST 2010


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





More information about the infinispan-dev mailing list