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,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
-
Field Summary
Fields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionTransactionRollbackSetupAction(org.jboss.msc.service.ServiceName serviceName) -
Method Summary
-
Constructor Details
-
TransactionRollbackSetupAction
public TransactionRollbackSetupAction(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
-
getValue
public TransactionRollbackSetupAction getValue() throws IllegalStateException, IllegalArgumentException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<TransactionRollbackSetupAction>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getTransactionManager
public org.jboss.msc.value.InjectedValue<jakarta.transaction.TransactionManager> getTransactionManager()
-