Class HotRodTransactionManagerLookup
java.lang.Object
org.keycloak.models.map.storage.hotRod.transaction.HotRodTransactionManagerLookup
- All Implemented Interfaces:
org.infinispan.commons.tx.lookup.TransactionManagerLookup
public class HotRodTransactionManagerLookup
extends Object
implements org.infinispan.commons.tx.lookup.TransactionManagerLookup
HotRod client provides its own
GenericTransactionManagerLookup
that is able to locate variety of JTA transaction implementation present
in the runtime. We need to make sure we use JTA only when it is detected
by other parts of Keycloak (such as KeycloakTransactionManager
),
therefore we implemented this custom TransactionManagerLookup that locates
JTA transaction using JtaTransactionManagerLookup
provider-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HotRodTransactionManagerLookup
-
-
Method Details
-
getTransactionManager
- Specified by:
getTransactionManager
in interfaceorg.infinispan.commons.tx.lookup.TransactionManagerLookup
- Throws:
Exception
-