Class TransactionRollbackSetupAction

java.lang.Object
org.jboss.as.txn.deployment.TransactionRollbackSetupAction
All Implemented Interfaces:
org.jboss.as.server.deployment.SetupAction, org.jboss.msc.Service, org.jboss.msc.service.Service<TransactionRollbackSetupAction>, org.jboss.msc.value.Value<TransactionRollbackSetupAction>

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

    • TransactionRollbackSetupAction

      public TransactionRollbackSetupAction(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
    • getValue

      Specified by:
      getValue in interface org.jboss.msc.value.Value<TransactionRollbackSetupAction>
      Throws:
      IllegalStateException
      IllegalArgumentException
    • getTransactionManager

      public org.jboss.msc.value.InjectedValue<jakarta.transaction.TransactionManager> getTransactionManager()