Class A2aSkillsetBridge

java.lang.Object
com.xebialabs.xlrelease.a2a.config.A2aSkillsetBridge

@Component public class A2aSkillsetBridge extends Object
Bridges A2aSkillset extensions — whichever plugin contributed them, and however it authored the contribution — into the live A2aSkillRegistry, so contributed skills appear on the Agent Card and endpoint without restart and disappear with their bundle. The A2A counterpart of McpToolsetBridge, and deliberately the same shape: subscribe with synchronous replay in @PostConstruct, key tracking by extension instance identity, catch LinkageError alongside RuntimeException when reflecting over plugin-owned classes, and roll back a partial registration rather than leave it half-served.

A method that is not public or does not have the documented signature (A2aSkillResult m(String, Map<String, String>)) is logged and skipped — one bad method never takes down the rest of a skillset, and never the server.

  • Constructor Details

    • A2aSkillsetBridge

      public A2aSkillsetBridge(A2aSkillRegistry skillRegistry, com.xebialabs.xlrelease.osgi.spring.PluginExtensionRegistryImpl extensionRegistry)