Class TransactionCheckerSingleton
java.lang.Object
org.jboss.as.test.integration.transactions.TransactionCheckerSingleton
- All Implemented Interfaces:
TransactionCheckerSingletonRemote
public class TransactionCheckerSingleton
extends Object
implements TransactionCheckerSingletonRemote
Singleton class used as log for actions done during testing.
- Author:
- Ondra Chaloupka <ochaloup@redhat.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddMessage(String msg) voidvoidintintintintintintintintbooleanbooleanbooleanvoidresetAll()voidvoidvoidvoidvoidvoidvoidvoidsetSynchronizedAfter(boolean isCommit) voidvoid
-
Constructor Details
-
TransactionCheckerSingleton
public TransactionCheckerSingleton()
-
-
Method Details
-
getCommitted
public int getCommitted()- Specified by:
getCommittedin interfaceTransactionCheckerSingletonRemote
-
addCommit
public void addCommit()- Specified by:
addCommitin interfaceTransactionCheckerSingletonRemote
-
getPrepared
public int getPrepared()- Specified by:
getPreparedin interfaceTransactionCheckerSingletonRemote
-
addPrepare
public void addPrepare()- Specified by:
addPreparein interfaceTransactionCheckerSingletonRemote
-
getRolledback
public int getRolledback()- Specified by:
getRolledbackin interfaceTransactionCheckerSingletonRemote
-
addRollback
public void addRollback()- Specified by:
addRollbackin interfaceTransactionCheckerSingletonRemote
-
isSynchronizedBefore
public boolean isSynchronizedBefore()- Specified by:
isSynchronizedBeforein interfaceTransactionCheckerSingletonRemote
-
setSynchronizedBefore
public void setSynchronizedBefore()- Specified by:
setSynchronizedBeforein interfaceTransactionCheckerSingletonRemote
-
isSynchronizedAfter
public boolean isSynchronizedAfter()- Specified by:
isSynchronizedAfterin interfaceTransactionCheckerSingletonRemote
-
setSynchronizedAfter
public void setSynchronizedAfter(boolean isCommit) - Specified by:
setSynchronizedAfterin interfaceTransactionCheckerSingletonRemote
-
isSynchronizedBegin
public boolean isSynchronizedBegin()- Specified by:
isSynchronizedBeginin interfaceTransactionCheckerSingletonRemote
-
setSynchronizedBegin
public void setSynchronizedBegin()- Specified by:
setSynchronizedBeginin interfaceTransactionCheckerSingletonRemote
-
resetCommitted
public void resetCommitted()- Specified by:
resetCommittedin interfaceTransactionCheckerSingletonRemote
-
resetPrepared
public void resetPrepared()- Specified by:
resetPreparedin interfaceTransactionCheckerSingletonRemote
-
resetRolledback
public void resetRolledback()- Specified by:
resetRolledbackin interfaceTransactionCheckerSingletonRemote
-
resetSynchronizedBefore
public void resetSynchronizedBefore()- Specified by:
resetSynchronizedBeforein interfaceTransactionCheckerSingletonRemote
-
resetSynchronizedAfter
public void resetSynchronizedAfter()- Specified by:
resetSynchronizedAfterin interfaceTransactionCheckerSingletonRemote
-
resetSynchronizedBegin
public void resetSynchronizedBegin()- Specified by:
resetSynchronizedBeginin interfaceTransactionCheckerSingletonRemote
-
countSynchronizedBefore
public int countSynchronizedBefore()- Specified by:
countSynchronizedBeforein interfaceTransactionCheckerSingletonRemote
-
countSynchronizedAfter
public int countSynchronizedAfter()- Specified by:
countSynchronizedAfterin interfaceTransactionCheckerSingletonRemote
-
countSynchronizedAfterCommitted
public int countSynchronizedAfterCommitted()- Specified by:
countSynchronizedAfterCommittedin interfaceTransactionCheckerSingletonRemote
-
countSynchronizedAfterRolledBack
public int countSynchronizedAfterRolledBack()- Specified by:
countSynchronizedAfterRolledBackin interfaceTransactionCheckerSingletonRemote
-
countSynchronizedBegin
public int countSynchronizedBegin()- Specified by:
countSynchronizedBeginin interfaceTransactionCheckerSingletonRemote
-
addMessage
- Specified by:
addMessagein interfaceTransactionCheckerSingletonRemote
-
getMessages
- Specified by:
getMessagesin interfaceTransactionCheckerSingletonRemote
-
resetMessages
public void resetMessages()- Specified by:
resetMessagesin interfaceTransactionCheckerSingletonRemote
-
resetAll
public void resetAll()- Specified by:
resetAllin interfaceTransactionCheckerSingletonRemote
-