use of com.sun.enterprise.transaction.api.JavaEETransaction in project Payara by payara.
the class EjbContainerUtilImpl method getActiveTxCache.
@Override
public Object getActiveTxCache(Transaction jtx) {
JavaEETransaction tx = (JavaEETransaction) jtx;
TxData txData = getTxData(tx);
return txData.activeTxCache;
}
use of com.sun.enterprise.transaction.api.JavaEETransaction in project Payara by payara.
the class EjbContainerUtilImpl method setActiveTxCache.
@Override
public void setActiveTxCache(Transaction jtx, Object cache) {
JavaEETransaction tx = (JavaEETransaction) jtx;
TxData txData = getTxData(tx);
txData.activeTxCache = cache;
}
use of com.sun.enterprise.transaction.api.JavaEETransaction in project Payara by payara.
the class EjbContainerUtilImpl method getContainerSync.
@Override
public ContainerSynchronization getContainerSync(Transaction jtx) throws RollbackException, SystemException {
JavaEETransaction tx = (JavaEETransaction) jtx;
TxData txData = getTxData(tx);
if (txData.sync == null) {
txData.sync = new ContainerSynchronization(tx, this);
tx.registerSynchronization(txData.sync);
}
return txData.sync;
}
use of com.sun.enterprise.transaction.api.JavaEETransaction in project Payara by payara.
the class EjbContainerUtilImpl method getBeans.
@Override
public Vector getBeans(Transaction jtx) {
JavaEETransaction tx = (JavaEETransaction) jtx;
TxData txData = getTxData(tx);
if (txData.beans == null) {
txData.beans = new Vector();
}
return txData.beans;
}
Aggregations