org.jencks.factory
Class UserTransactionFactoryBean.GeronimoUserTransaction
java.lang.Object
org.jencks.factory.UserTransactionFactoryBean.GeronimoUserTransaction
- All Implemented Interfaces:
- UserTransaction
- Enclosing class:
- UserTransactionFactoryBean
public class UserTransactionFactoryBean.GeronimoUserTransaction
- extends Object
- implements UserTransaction
This wrapper around the OnlineUserTransaction performs per-thread
initialization of the geronimo transaction layer.
- Author:
- gnt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserTransactionFactoryBean.GeronimoUserTransaction
public UserTransactionFactoryBean.GeronimoUserTransaction()
begin
public void begin()
throws NotSupportedException,
SystemException
- Specified by:
begin
in interface UserTransaction
- Throws:
NotSupportedException
SystemException
commit
public void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
IllegalStateException,
RollbackException,
SecurityException,
SystemException
- Specified by:
commit
in interface UserTransaction
- Throws:
HeuristicMixedException
HeuristicRollbackException
IllegalStateException
RollbackException
SecurityException
SystemException
getStatus
public int getStatus()
throws SystemException
- Specified by:
getStatus
in interface UserTransaction
- Throws:
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
setTransactionTimeout
public void setTransactionTimeout(int arg0)
throws SystemException
- Specified by:
setTransactionTimeout
in interface UserTransaction
- Throws:
SystemException
Copyright © 2005 LogicBlaze, Inc.. All Rights Reserved.