Package org.jboss.as.txn.deployment
Class TransactionDependenciesProcessor
- java.lang.Object
-
- org.jboss.as.txn.deployment.TransactionDependenciesProcessor
-
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class TransactionDependenciesProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Looks for usage of the @Transactional Jakarta Contexts and Dependency Injection interceptor (JTA 1.2) or the @TransactionScoped Jakarta Contexts and Dependency Injection context (JTA 1.2) and adds the org.jboss.jts module dependency if they are found. Also adds the transaction API to deployments- Author:
- Paul Robinson
-
-
Field Summary
Fields Modifier and Type Field Description static StringJTS_MODULEstatic StringTRANSACTION_API
-
Constructor Summary
Constructors Constructor Description TransactionDependenciesProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
-
-
-
Field Detail
-
JTS_MODULE
public static final String JTS_MODULE
- See Also:
- Constant Field Values
-
TRANSACTION_API
public static final String TRANSACTION_API
- See Also:
- Constant Field Values
-
-
Method Detail
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException- Specified by:
deployin interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
-