public class TransactionHandler extends Object
Transactional annotation.
The implementation delegates to registered TransactionProvider in the current context to perform actual
operation. If no provider has been found or multiple classes has been registered then TransactionProviderNotFoundException is being thrown.Transactional,
TransactionProvider| Constructor and Description |
|---|
TransactionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
endTransactionAfterTest(org.jboss.arquillian.test.spi.event.suite.After afterTest)
Compensates the transaction after execution of the test.
|
void |
startTransactionBeforeTest(org.jboss.arquillian.test.spi.event.suite.Before beforeTest)
Initializes a transaction before execution of the test.
|
public void startTransactionBeforeTest(@Observes(precedence=10)
org.jboss.arquillian.test.spi.event.suite.Before beforeTest)
beforeTest - the test eventpublic void endTransactionAfterTest(@Observes(precedence=50)
org.jboss.arquillian.test.spi.event.suite.After afterTest)
afterTest - the test eventCopyright © 2012 JBoss by Red Hat. All Rights Reserved.