public interface JbpmServicesTransactionManager
Modifier and Type | Method and Description |
---|---|
void |
attachPersistenceContext(javax.persistence.EntityManager em) |
boolean |
begin(javax.persistence.EntityManager em) |
void |
commit(javax.persistence.EntityManager em,
boolean txOwner) |
void |
dispose() |
int |
getStatus(javax.persistence.EntityManager em) |
void |
registerTXSynchronization(org.drools.persistence.TransactionSynchronization txSync) |
void |
rollback(javax.persistence.EntityManager em,
boolean txOwner)
It is the responsibility of this method
to check that the status of the transaction
is appropriate before rolling back the transaction.
|
boolean |
supportsTXSynchronization() |
boolean begin(javax.persistence.EntityManager em)
void commit(javax.persistence.EntityManager em, boolean txOwner)
void rollback(javax.persistence.EntityManager em, boolean txOwner)
em
- The persistence context (aka, the entity manager)txOwner
- Whether or not the calling clause is owner of this transaction.int getStatus(javax.persistence.EntityManager em)
void attachPersistenceContext(javax.persistence.EntityManager em)
void dispose()
void registerTXSynchronization(org.drools.persistence.TransactionSynchronization txSync)
boolean supportsTXSynchronization()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.