cuba.wired
Interface WiredTransactionI
- All Superinterfaces:
- javax.transaction.Transaction
- All Known Implementing Classes:
- PrimitiveTransaction
public interface WiredTransactionI
- extends javax.transaction.Transaction
- Author:
- Jan Lessner
Methods inherited from interface javax.transaction.Transaction |
commit, delistResource, enlistResource, getStatus, registerSynchronization, rollback, setRollbackOnly |
CONTAINER_MANAGED
static final int CONTAINER_MANAGED
- See Also:
- Constant Field Values
COMPONENT_MANAGED
static final int COMPONENT_MANAGED
- See Also:
- Constant Field Values
CLIENT_MANAGED
static final int CLIENT_MANAGED
- See Also:
- Constant Field Values
allocateResource
WiredManagedConnection allocateResource(ResourceFactoryI resource)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
allocateEntityManager
CubaEntityManager allocateEntityManager(ResourceFactoryI resource)
throws ConstructionException
- Throws:
ConstructionException
releaseResource
void releaseResource(ResourceFactoryI resource,
WiredManagedConnection con)
registerStateSynchronization
void registerStateSynchronization(StateSynchronizationI sync)
throws javax.transaction.SystemException
- Throws:
javax.transaction.SystemException
getManagerType
int getManagerType()
beginTransaction
int beginTransaction()
throws javax.transaction.SystemException
- Throws:
javax.transaction.SystemException
commitTransaction
int commitTransaction()
throws javax.transaction.SystemException
- Throws:
javax.transaction.SystemException
rollbackTransaction
int rollbackTransaction()
throws javax.transaction.SystemException
- Throws:
javax.transaction.SystemException
separate
void separate()
throws javax.transaction.SystemException
- Markes this transaction manager to work as a separator between
the current transaction and potential following ones. This function
is used to provide propper NotSupported semantic.
- Throws:
javax.transaction.SystemException