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

      • TransactionDependenciesProcessor

        public TransactionDependenciesProcessor()
    • Method Detail

      • deploy

        public void deploy​(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
                    throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Specified by:
        deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException