Class Activator

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public class Activator
    extends Object
    implements org.osgi.framework.BundleActivator
    Needed to lookup local bundle resources - which should use Bundle API.
    Author:
    Bogdan Stefanescu
    • Constructor Detail

      • Activator

        public Activator()
    • Method Detail

      • getResource

        public static URL getResource​(String path)
      • getInstance

        public static Activator getInstance()
      • getContext

        public org.osgi.framework.BundleContext getContext()
      • start

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

        public void stop​(org.osgi.framework.BundleContext context)
        Specified by:
        stop in interface org.osgi.framework.BundleActivator