Package org.jboss.arquillian.transaction.spi.context

Examples of org.jboss.arquillian.transaction.spi.context.TransactionContext.activate()


            if (transactionMode != TransactionMode.DISABLED) {
                transactionProvider = getTransactionProvider();

                // creates the transaction context
                TransactionContext transactionContext = transactionContextInstance.get();
                transactionContext.activate();

                lifecycleEvent.fire(new BeforeTransactionStarted());

                transactionProvider.beginTransaction(new TransactionalTestImpl(getTransactionManager(beforeTest)));
View Full Code Here


      if (isTransactionEnabled(beforeTest))
      {

         TransactionContext transactionContext = transactionContextInstance.get();
         transactionContext.activate();

         lifecycleEvent.fire(new BeforeTransactionStarted());

         getTransactionProvider().beginTransaction(new TransactionalTestImpl(getTransactionManager(beforeTest)));
View Full Code Here

    public void startTransactionBeforeTest(@Observes(precedence = 10) Before beforeTest) {

        if (isTransactionEnabled(beforeTest)) {

            TransactionContext transactionContext = transactionContextInstance.get();
            transactionContext.activate();

            lifecycleEvent.fire(new BeforeTransactionStarted());

            getTransactionProvider().beginTransaction(new TransactionalTestImpl(getTransactionManager(beforeTest)));
View Full Code Here

    public void startTransactionBeforeTest(@Observes(precedence = 10) Before beforeTest) {

        if (isTransactionEnabled(beforeTest)) {

            TransactionContext transactionContext = transactionContextInstance.get();
            transactionContext.activate();

            lifecycleEvent.fire(new BeforeTransactionStarted());

            getTransactionProvider().beginTransaction(new TransactionalTestImpl(getTransactionManager(beforeTest)));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.