Class A2AGrpcServiceProcessor

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

public class A2AGrpcServiceProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Deployment processor that manually registers the A2A gRPC handler with the WildFly gRPC deployment registry. This bypasses the Jandex annotation scanning approach which has issues with module class visibility. Instead, we directly register the WildFlyGrpcHandler class with the gRPC subsystem's deployment registry.
Author:
Radoslav Husar
  • Constructor Details

    • A2AGrpcServiceProcessor

      public A2AGrpcServiceProcessor()
  • Method Details

    • deploy

      public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
      Specified by:
      deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
    • undeploy

      public void undeploy(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
      Specified by:
      undeploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor