public final class JavaEETransactionImpl extends TimerTask implements JavaEETransaction
cancel, scheduledExecutionTimepublic Object getContainerData()
getContainerData in interface JavaEETransactionpublic void setContainerData(Object data)
setContainerData in interface JavaEETransactionpublic int cancelTimerTask()
public boolean isTimedOut()
isTimedOut in interface JavaEETransactionpublic TransactionalResource getNonXAResource()
getNonXAResource in interface JavaEETransactionpublic TransactionalResource getLAOResource()
getLAOResource in interface JavaEETransactionpublic void setLAOResource(TransactionalResource h)
setLAOResource in interface JavaEETransactionpublic void addTxEntityManagerMapping(javax.persistence.EntityManagerFactory emf,
SimpleResource em)
addTxEntityManagerMapping in interface JavaEETransactionpublic SimpleResource getTxEntityManagerResource(javax.persistence.EntityManagerFactory emf)
getTxEntityManagerResource in interface JavaEETransactionprotected void onTxCompletion(boolean status)
public void addExtendedEntityManagerMapping(javax.persistence.EntityManagerFactory emf,
SimpleResource em)
addExtendedEntityManagerMapping in interface JavaEETransactionpublic void removeExtendedEntityManagerMapping(javax.persistence.EntityManagerFactory emf)
removeExtendedEntityManagerMapping in interface JavaEETransactionpublic SimpleResource getExtendedEntityManagerResource(javax.persistence.EntityManagerFactory emf)
getExtendedEntityManagerResource in interface JavaEETransactionpublic boolean isLocalTx()
isLocalTx in interface JavaEETransactionpublic void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
commit in interface TransactionRollbackExceptionHeuristicMixedExceptionHeuristicRollbackExceptionSecurityExceptionIllegalStateExceptionSystemExceptionpublic void rollback()
throws IllegalStateException,
SystemException
rollback in interface TransactionIllegalStateExceptionSystemExceptionpublic boolean delistResource(XAResource xaRes, int flag) throws IllegalStateException, SystemException
delistResource in interface TransactionIllegalStateExceptionSystemExceptionpublic boolean enlistResource(XAResource xaRes) throws RollbackException, IllegalStateException, SystemException
enlistResource in interface TransactionRollbackExceptionIllegalStateExceptionSystemExceptionpublic int getStatus()
throws SystemException
getStatus in interface TransactionSystemExceptionpublic void registerSynchronization(Synchronization sync) throws RollbackException, IllegalStateException, SystemException
registerSynchronization in interface TransactionRollbackExceptionIllegalStateExceptionSystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly in interface TransactionIllegalStateExceptionSystemExceptionpublic String getTransactionId()
public long getStartTime()
public void setResources(Set resources, Object poolInfo)
setResources in interface JavaEETransactionpublic Set getResources(Object poolInfo)
getResources in interface JavaEETransactionpublic Set getAllParticipatingPools()
getAllParticipatingPools in interface JavaEETransactionpublic void setActiveTxCache(Object cache)
public Object getActiveTxCache()
public int getRemainingTimeout()
Copyright © 2017. All rights reserved.