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
ConstructorsConstructorDescriptionOsgiAwarePluginReloader(com.xebialabs.plugin.manager.startup.PluginReloader delegate, com.xebialabs.xlrelease.service.BroadcastService broadcastService, com.xebialabs.xlrelease.booter.osgi.OsgiBundleInstallValidator bundleInstallValidator) -
Method Summary
-
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:
reloadPluginin interfacecom.xebialabs.plugin.manager.startup.PluginReloader
-