Class DisableOsgiFramework

java.lang.Object
com.yahoo.container.jdisc.DisableOsgiFramework
All Implemented Interfaces:
com.yahoo.jdisc.application.OsgiFramework

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

    • DisableOsgiFramework

      public DisableOsgiFramework()
    • DisableOsgiFramework

      public DisableOsgiFramework(RestrictedBundleContext restrictedBundleContext)
  • Method Details

    • installBundle

      public List<org.osgi.framework.Bundle> installBundle(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(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 List<org.osgi.framework.Bundle> bundles()
      Specified by:
      bundles in interface com.yahoo.jdisc.application.OsgiFramework
    • getBundles

      public 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(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