Package org.keycloak.transaction
Class JBossJtaTransactionManagerLookup
- java.lang.Object
-
- org.keycloak.transaction.JBossJtaTransactionManagerLookup
-
- All Implemented Interfaces:
Provider,ProviderFactory<JtaTransactionManagerLookup>,JtaTransactionManagerLookup
public class JBossJtaTransactionManagerLookup extends Object implements JtaTransactionManagerLookup
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Constructor Summary
Constructors Constructor Description JBossJtaTransactionManagerLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()javax.transaction.TransactionManagergetTransactionManager()voidinit(Config.Scope config)Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory)Called after all provider factories have been initialized-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.transaction.JtaTransactionManagerLookup
close, create
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
-
-
-
Method Detail
-
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()
- Specified by:
getTransactionManagerin interfaceJtaTransactionManagerLookup
-
init
public void init(Config.Scope config)
Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
initin interfaceProviderFactory<JtaTransactionManagerLookup>
-
postInit
public void postInit(KeycloakSessionFactory factory)
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<JtaTransactionManagerLookup>
-
getId
public String getId()
- Specified by:
getIdin interfaceProviderFactory<JtaTransactionManagerLookup>
-
-