Class OsgiAwarePluginReloader

java.lang.Object
com.xebialabs.xlrelease.plugin.manager.OsgiAwarePluginReloader
All Implemented Interfaces:
com.xebialabs.plugin.manager.startup.PluginReloader

public class OsgiAwarePluginReloader extends Object implements com.xebialabs.plugin.manager.startup.PluginReloader
Wraps the existing PluginReloader (normally XlrPluginReloader) to route OSGi bundles to the OSGi install/update path instead of the restart-oriented plugin reload path.

Called from PluginService.doWithTypeSystemValidation (xl-platform) whenever JarPluginValidator reports RestartNotNeeded for a plugin — which, after the JarPluginValidator fix, is exactly the OSGi bundle case.

  • Constructor Summary

    Constructors
    Constructor
    Description
    OsgiAwarePluginReloader(com.xebialabs.plugin.manager.startup.PluginReloader delegate, com.xebialabs.xlrelease.service.BroadcastService broadcastService, com.xebialabs.xlrelease.booter.osgi.OsgiBundleInstallValidator bundleInstallValidator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    reloadPlugin(com.xebialabs.plugin.manager.Plugin plugin)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OsgiAwarePluginReloader

      public OsgiAwarePluginReloader(com.xebialabs.plugin.manager.startup.PluginReloader delegate, com.xebialabs.xlrelease.service.BroadcastService broadcastService, com.xebialabs.xlrelease.booter.osgi.OsgiBundleInstallValidator bundleInstallValidator)
  • Method Details

    • reloadPlugin

      public void reloadPlugin(com.xebialabs.plugin.manager.Plugin plugin)
      Specified by:
      reloadPlugin in interface com.xebialabs.plugin.manager.startup.PluginReloader