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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor
undeploy
-
Field Details
-
JTS_MODULE
- See Also:
-
TRANSACTION_API
- See Also:
-
-
Constructor Details
-
TransactionDependenciesProcessor
public TransactionDependenciesProcessor()
-
-
Method Details
-
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
-