Class TransactionRollbackSetupAction

java.lang.Object
org.jboss.as.txn.deployment.TransactionRollbackSetupAction
All Implemented Interfaces:
org.jboss.as.server.deployment.SetupAction, org.jboss.msc.Service

public final class TransactionRollbackSetupAction extends Object implements org.jboss.as.server.deployment.SetupAction, org.jboss.msc.Service
Setup action that makes sure that no transactions leak from EE requests
Author:
Stuart Douglas, Richard Opalka
  • Constructor Details

    • TransactionRollbackSetupAction

      public TransactionRollbackSetupAction(Consumer<TransactionRollbackSetupAction> txnRollbackSetupActionConsumer, Supplier<jakarta.transaction.TransactionManager> transactionManagerSupplier, org.jboss.msc.service.ServiceName serviceName)
  • Method Details

    • setup

      public void setup(Map<String,Object> properties)
      Specified by:
      setup in interface org.jboss.as.server.deployment.SetupAction
    • teardown

      public void teardown(Map<String,Object> properties)
      Specified by:
      teardown in interface org.jboss.as.server.deployment.SetupAction
    • priority

      public int priority()
      Specified by:
      priority in interface org.jboss.as.server.deployment.SetupAction
    • dependencies

      public Set<org.jboss.msc.service.ServiceName> dependencies()
      Specified by:
      dependencies in interface org.jboss.as.server.deployment.SetupAction
    • start

      public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.jboss.msc.Service