Class A2AJaxrsProcessor

java.lang.Object
org.wildfly.extension.a2a.deployment.A2AJaxrsProcessor
All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor

public class A2AJaxrsProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Deployment processor that registers A2A JAX-RS resources and providers with RESTEasy. This processor runs at POST_MODULE phase (after JAX-RS annotation scanning) to add A2A classes from modules to the RESTEasy deployment data. RESTEasy doesn't scan module dependencies for @Path and @Provider annotations, so we need to register them explicitly. Classes are registered conditionally based on availability to support deployments that only use specific transports.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deploy(org.jboss.as.server.deployment.DeploymentPhaseContext deploymentPhaseContext)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor

    undeploy
  • Constructor Details

    • A2AJaxrsProcessor

      public A2AJaxrsProcessor()
  • Method Details

    • deploy

      public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext deploymentPhaseContext) 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