Class McpToolsetOsgiBridge
java.lang.Object
com.xebialabs.xlrelease.mcp.config.McpToolsetOsgiBridge
- All Implemented Interfaces:
com.xebialabs.xlrelease.booter.osgi.OsgiServiceWhiteboard
@Component
public class McpToolsetOsgiBridge
extends Object
implements com.xebialabs.xlrelease.booter.osgi.OsgiServiceWhiteboard
Bridges
McpToolset services a bundle registers out into the running McpSyncServer,
live and without restart, via a ServiceTracker. Adding/removing a tool on the server already
pushes tools/list_changed (listChanged capability), so this class does not notify explicitly.-
Constructor Summary
ConstructorsConstructorDescriptionMcpToolsetOsgiBridge(io.modelcontextprotocol.server.McpSyncServer mcpSyncServer, McpToolSpecifications toolSpecifications, McpReadOnlyToolReconciler readOnlyToolReconciler) -
Method Summary
-
Constructor Details
-
McpToolsetOsgiBridge
public McpToolsetOsgiBridge(io.modelcontextprotocol.server.McpSyncServer mcpSyncServer, McpToolSpecifications toolSpecifications, McpReadOnlyToolReconciler readOnlyToolReconciler)
-
-
Method Details
-
attach
public void attach(org.osgi.framework.BundleContext context) - Specified by:
attachin interfacecom.xebialabs.xlrelease.booter.osgi.OsgiServiceWhiteboard
-
detach
public void detach()- Specified by:
detachin interfacecom.xebialabs.xlrelease.booter.osgi.OsgiServiceWhiteboard
-