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 Details

  • Method Details

    • attach

      public void attach(org.osgi.framework.BundleContext context)
      Specified by:
      attach in interface com.xebialabs.xlrelease.booter.osgi.OsgiServiceWhiteboard
    • detach

      public void detach()
      Specified by:
      detach in interface com.xebialabs.xlrelease.booter.osgi.OsgiServiceWhiteboard