Package org.castor.transactionmanager
Class LocalTransactionManager
java.lang.Object
org.castor.transactionmanager.LocalTransactionManager
- All Implemented Interfaces:
TransactionManager
Default transaction manager when Castor is used in standalone mode,
in other words not within a J2EE container.
- Since:
- 1.0
- Version:
- $Revision: 6907 $ $Date: 2006-04-13 10:49:49 -0600 (Thu, 13 Apr 2006) $
- Author:
- Ralf Joachim
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
void
commit()
int
void
resume
(Transaction arg) void
rollback()
void
void
setTransactionTimeout
(int arg) suspend()
-
Constructor Details
-
LocalTransactionManager
public LocalTransactionManager()
-
-
Method Details
-
begin
- Specified by:
begin
in interfaceTransactionManager
- Throws:
SystemException
- See Also:
-
commit
- Specified by:
commit
in interfaceTransactionManager
- Throws:
SystemException
- See Also:
-
getStatus
- Specified by:
getStatus
in interfaceTransactionManager
- Throws:
SystemException
- See Also:
-
getTransaction
- Specified by:
getTransaction
in interfaceTransactionManager
- Throws:
SystemException
- See Also:
-
resume
- Specified by:
resume
in interfaceTransactionManager
- Throws:
SystemException
- See Also:
-
rollback
- Specified by:
rollback
in interfaceTransactionManager
- Throws:
SystemException
- See Also:
-
setRollbackOnly
- Specified by:
setRollbackOnly
in interfaceTransactionManager
- Throws:
SystemException
- See Also:
-
setTransactionTimeout
- Specified by:
setTransactionTimeout
in interfaceTransactionManager
- Throws:
SystemException
- See Also:
-
suspend
- Specified by:
suspend
in interfaceTransactionManager
- Throws:
SystemException
- See Also:
-