Class BundleRegistry

java.lang.Object
org.nuxeo.osgi.BundleRegistry

public class BundleRegistry extends Object
Author:
Bogdan Stefanescu
  • Constructor Details

    • BundleRegistry

      public BundleRegistry()
  • Method Details

    • addBundleAlias

      public void addBundleAlias(String alias, String symbolicName)
    • getBundle

      public BundleImpl getBundle(long id)
    • getBundle

      public BundleImpl getBundle(String symbolicName)
    • getFragments

      public BundleImpl[] getFragments(String symbolicName)
      Since:
      5.6
    • getInstalledBundles

      public BundleImpl[] getInstalledBundles()
    • install

      public void install(BundleImpl bundle) throws org.osgi.framework.BundleException
      Throws:
      org.osgi.framework.BundleException
    • uninstall

      public void uninstall(BundleImpl bundle) throws org.osgi.framework.BundleException
      Throws:
      org.osgi.framework.BundleException
    • unregister

      protected void unregister(BundleRegistration reg) throws org.osgi.framework.BundleException
      Throws:
      org.osgi.framework.BundleException
    • doPostpone

      protected void doPostpone(BundleRegistration reg)
    • doRegister

      protected void doRegister(BundleRegistration reg) throws org.osgi.framework.BundleException
      Throws:
      org.osgi.framework.BundleException
    • shutdown

      public void shutdown()