Class TransactionManagerComponent

java.lang.Object
org.wso2.carbon.transaction.manager.TransactionManagerComponent

public class TransactionManagerComponent extends Object
  • Constructor Details

    • TransactionManagerComponent

      public TransactionManagerComponent()
  • Method Details

    • 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)