Class 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 Detail

      • TransactionRollbackSetupAction

        public TransactionRollbackSetupAction​(org.jboss.msc.service.ServiceName serviceName)
    • Method Detail

      • 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
      • getTransactionManager

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