Class DisableOsgiFramework

  • All Implemented Interfaces:
    com.yahoo.jdisc.application.OsgiFramework

    public final class DisableOsgiFramework
    extends java.lang.Object
    implements com.yahoo.jdisc.application.OsgiFramework
    Author:
    Tony Vaagenes
    • Constructor Detail

      • DisableOsgiFramework

        public DisableOsgiFramework()
    • Method Detail

      • installBundle

        public java.util.List<org.osgi.framework.Bundle> installBundle​(java.lang.String bundleLocation)
                                                                throws org.osgi.framework.BundleException
        Specified by:
        installBundle in interface com.yahoo.jdisc.application.OsgiFramework
        Throws:
        org.osgi.framework.BundleException
      • startBundles

        public void startBundles​(java.util.List<org.osgi.framework.Bundle> bundles,
                                 boolean privileged)
                          throws org.osgi.framework.BundleException
        Specified by:
        startBundles in interface com.yahoo.jdisc.application.OsgiFramework
        Throws:
        org.osgi.framework.BundleException
      • refreshPackages

        public void refreshPackages()
        Specified by:
        refreshPackages in interface com.yahoo.jdisc.application.OsgiFramework
      • bundleContext

        public org.osgi.framework.BundleContext bundleContext()
        Specified by:
        bundleContext in interface com.yahoo.jdisc.application.OsgiFramework
      • bundles

        public java.util.List<org.osgi.framework.Bundle> bundles()
        Specified by:
        bundles in interface com.yahoo.jdisc.application.OsgiFramework
      • getBundles

        public java.util.List<org.osgi.framework.Bundle> getBundles​(org.osgi.framework.Bundle requestingBundle)
        Specified by:
        getBundles in interface com.yahoo.jdisc.application.OsgiFramework
      • allowDuplicateBundles

        public void allowDuplicateBundles​(java.util.Collection<org.osgi.framework.Bundle> bundles)
        Specified by:
        allowDuplicateBundles in interface com.yahoo.jdisc.application.OsgiFramework
      • start

        public void start()
                   throws org.osgi.framework.BundleException
        Specified by:
        start in interface com.yahoo.jdisc.application.OsgiFramework
        Throws:
        org.osgi.framework.BundleException
      • stop

        public void stop()
                  throws org.osgi.framework.BundleException
        Specified by:
        stop in interface com.yahoo.jdisc.application.OsgiFramework
        Throws:
        org.osgi.framework.BundleException