Class BundleRegistry

    • Constructor Detail

      • BundleRegistry

        public BundleRegistry()
    • Method Detail

      • addBundleAlias

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

        public BundleImpl getBundle​(long id)
      • 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
      • doRegister

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

        public void shutdown()