Class A2ACdiExtension

java.lang.Object
org.wildfly.extension.a2a.cdi.A2ACdiExtension
All Implemented Interfaces:
jakarta.enterprise.inject.spi.Extension

public class A2ACdiExtension extends Object implements jakarta.enterprise.inject.spi.Extension
CDI extension that registers A2A beans from JBoss modules.

Since the A2A transport classes live in JBoss modules (not WEB-INF/lib) whose jars do not carry a META-INF/beans.xml, CDI does not automatically discover them. This extension programmatically adds them as CDI beans during the type discovery phase.

Classes are registered conditionally based on availability to support deployments that only use specific transports.

  • Constructor Details

    • A2ACdiExtension

      public A2ACdiExtension()