Class TransactionManagerComponent
- java.lang.Object
-
- org.wso2.carbon.transaction.manager.TransactionManagerComponent
-
public class TransactionManagerComponent extends Object
-
-
Constructor Summary
Constructors Constructor Description TransactionManagerComponent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate(org.osgi.service.component.ComponentContext ctxt)protected static voidbindTransactionManagerWithJNDIForTenant(int tid)protected voiddeactivate(org.osgi.service.component.ComponentContext ctxt)static org.wso2.carbon.user.core.service.RealmServicegetRealmService()static TransactionManagergetTransactionManager()static UserTransactiongetUserTransaction()protected voidsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)protected voidsetTransactionManager(TransactionManager txManager)protected voidsetUserTransaction(UserTransaction userTransaction)protected voidunsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)protected voidunsetTransactionManager(TransactionManager txManager)protected voidunsetUserTransaction(UserTransaction userTransaction)
-
-
-
Method Detail
-
activate
protected void activate(org.osgi.service.component.ComponentContext ctxt) throws TransactionManagerException- Throws:
TransactionManagerException
-
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext ctxt)
-
setTransactionManager
protected void setTransactionManager(TransactionManager txManager)
-
unsetTransactionManager
protected void unsetTransactionManager(TransactionManager txManager)
-
getTransactionManager
public static TransactionManager getTransactionManager()
-
setUserTransaction
protected void setUserTransaction(UserTransaction userTransaction)
-
unsetUserTransaction
protected void unsetUserTransaction(UserTransaction userTransaction)
-
getUserTransaction
public static UserTransaction getUserTransaction()
-
setRealmService
protected void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
-
unsetRealmService
protected void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
-
getRealmService
public static org.wso2.carbon.user.core.service.RealmService getRealmService()
-
bindTransactionManagerWithJNDIForTenant
protected static void bindTransactionManagerWithJNDIForTenant(int tid)
-
-