Class AbstractActivator

    • Constructor Detail

      • AbstractActivator

        public AbstractActivator()
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws Exception
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Throws:
        Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Throws:
        Exception
      • installedPackage

        protected boolean installedPackage​(String version)
      • getName

        public abstract String getName()
      • releaseLock

        public void releaseLock()
      • setProcessInfo

        public void setProcessInfo​(ProcessInfo processInfo)
      • setProcessUI

        public void setProcessUI​(IProcessUI processUI)
      • statusUpdate

        protected void statusUpdate​(String message)
      • addLog

        public void addLog​(Level level,
                           String msg)
      • setSummary

        public void setSummary​(Level level,
                               String msg)
      • frameworkEvent

        public void frameworkEvent​(org.osgi.framework.FrameworkEvent event)
        Specified by:
        frameworkEvent in interface org.osgi.framework.FrameworkListener
      • isFrameworkStarted

        public static Boolean isFrameworkStarted()
      • frameworkStarted

        protected abstract void frameworkStarted()
      • start

        protected void start()
        call when bundle have been started ( after this.context have been set )
      • stop

        protected void stop()
        call when bundle is stop ( before this.context is set to null )
      • getVersion

        public String getVersion()