using Kingo.Plugin.DLTB_IDG.Helper; using Kingo.PluginServiceInterface; using UIShell.OSGi; namespace Kingo.Plugin.AttributeMaintain { public class Activator : IBundleActivator { SXWHHelper sXWHHelper = new SXWHHelper(); public void Start(IBundleContext context) { UIShell.OSGi.BundleRuntime.Instance.AddService(sXWHHelper); } public void Stop(IBundleContext context) { UIShell.OSGi.BundleRuntime.Instance.RemoveService(sXWHHelper); } } }