Package org.jboss.as.txn.deployment
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
-
Field Summary
Fields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionTransactionRollbackSetupAction(Consumer<TransactionRollbackSetupAction> txnRollbackSetupActionConsumer, Supplier<jakarta.transaction.TransactionManager> transactionManagerSupplier, org.jboss.msc.service.ServiceName serviceName) -
Method Summary
-
Constructor Details
-
TransactionRollbackSetupAction
public TransactionRollbackSetupAction(Consumer<TransactionRollbackSetupAction> txnRollbackSetupActionConsumer, Supplier<jakarta.transaction.TransactionManager> transactionManagerSupplier, org.jboss.msc.service.ServiceName serviceName)
-
-
Method Details
-
setup
- Specified by:
setupin interfaceorg.jboss.as.server.deployment.SetupAction
-
teardown
- Specified by:
teardownin interfaceorg.jboss.as.server.deployment.SetupAction
-
priority
public int priority()- Specified by:
priorityin interfaceorg.jboss.as.server.deployment.SetupAction
-
dependencies
- Specified by:
dependenciesin interfaceorg.jboss.as.server.deployment.SetupAction
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-