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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev