org.seasar.extension.tx
クラス AbstractTxInterceptor
java.lang.Object
org.seasar.extension.tx.AbstractTxInterceptor
- すべての実装インタフェース:
- Advice, Interceptor, MethodInterceptor
- 直系の既知のサブクラス:
- MandatoryInterceptor, NeverInterceptor, NotSupportedInterceptor, RequiredInterceptor, RequiresNewInterceptor
- public abstract class AbstractTxInterceptor
- extends Object
- implements MethodInterceptor
- 作成者:
- higa
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTxInterceptor
public AbstractTxInterceptor(TransactionManager transactionManager)
getTransactionManager
public final TransactionManager getTransactionManager()
hasTransaction
public final boolean hasTransaction()
throws SystemException
- 例外:
SystemException
getTransaction
public final Transaction getTransaction()
throws SystemException
- 例外:
SystemException
begin
public final void begin()
throws NotSupportedException,
SystemException
- 例外:
NotSupportedException
SystemException
end
public final void end()
throws SecurityException,
IllegalStateException,
RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SystemException
- 例外:
SecurityException
IllegalStateException
RollbackException
HeuristicMixedException
HeuristicRollbackException
SystemException
rollback
public final void rollback()
throws IllegalStateException,
SecurityException,
SystemException
- 例外:
IllegalStateException
SecurityException
SystemException
suspend
public final Transaction suspend()
throws SystemException
- 例外:
SystemException
resume
public final void resume(Transaction transaction)
throws InvalidTransactionException,
IllegalStateException,
SystemException
- 例外:
InvalidTransactionException
IllegalStateException
SystemException
complete
public final boolean complete(Throwable t)
throws SecurityException,
IllegalStateException,
RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SystemException
- 例外:
SecurityException
IllegalStateException
RollbackException
HeuristicMixedException
HeuristicRollbackException
SystemException
addCommitRule
public final void addCommitRule(Class exceptionClass)
addRollbackRule
public final void addRollbackRule(Class exceptionClass)
Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.