org.jboss.ejb3.tx
Class UserTransactionImpl
java.lang.Object
org.jboss.ejb3.tx.UserTransactionImpl
- All Implemented Interfaces:
- Externalizable, Serializable, UserTransaction
public final class UserTransactionImpl
- extends Object
- implements UserTransaction, Externalizable
Comment
- Version:
- $Revision: 72368 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
|
Field Summary |
protected static org.jboss.logging.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.jboss.logging.Logger log
UserTransactionImpl
public UserTransactionImpl()
begin
public void begin()
throws NotSupportedException,
SystemException
- Specified by:
begin in interface UserTransaction
- Throws:
NotSupportedException
SystemException
commit
public void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
- Specified by:
commit in interface UserTransaction
- Throws:
RollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
IllegalStateException
SystemException
rollback
public void rollback()
throws IllegalStateException,
SecurityException,
SystemException
- Specified by:
rollback in interface UserTransaction
- Throws:
IllegalStateException
SecurityException
SystemException
setRollbackOnly
public void setRollbackOnly()
throws IllegalStateException,
SystemException
- Specified by:
setRollbackOnly in interface UserTransaction
- Throws:
IllegalStateException
SystemException
getStatus
public int getStatus()
throws SystemException
- Specified by:
getStatus in interface UserTransaction
- Throws:
SystemException
setTransactionTimeout
public void setTransactionTimeout(int seconds)
throws SystemException
- Set the transaction timeout value for new transactions
started by this instance.
- Specified by:
setTransactionTimeout in interface UserTransaction
- Throws:
SystemException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2008 JBoss Inc.. All Rights Reserved.