org.wso2.carbon.transaction.manager
Class TransactionManagerComponent

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

public class TransactionManagerComponent
extends Object


Constructor Summary
TransactionManagerComponent()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext ctxt)
           
protected static void bindTransactionManagerWithJNDIForTenant(int tid)
           
protected  void deactivate(org.osgi.service.component.ComponentContext ctxt)
           
static org.wso2.carbon.user.core.service.RealmService getRealmService()
           
static TransactionManager getTransactionManager()
           
static UserTransaction getUserTransaction()
           
protected  void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
           
protected  void setTransactionManager(TransactionManager txManager)
           
protected  void setUserTransaction(UserTransaction userTransaction)
           
protected  void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
           
protected  void unsetTransactionManager(TransactionManager txManager)
           
protected  void unsetUserTransaction(UserTransaction userTransaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManagerComponent

public TransactionManagerComponent()
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)


Copyright © 2015 WSO2. All rights reserved.