Package org.nuxeo.osgi
Class BundleRegistry
- java.lang.Object
-
- org.nuxeo.osgi.BundleRegistry
-
public class BundleRegistry extends Object
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description BundleRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBundleAlias(String alias, String symbolicName)protected voiddoPostpone(BundleRegistration reg)protected voiddoRegister(BundleRegistration reg)BundleImplgetBundle(long id)BundleImplgetBundle(String symbolicName)BundleImpl[]getFragments(String symbolicName)BundleImpl[]getInstalledBundles()voidinstall(BundleImpl bundle)voidshutdown()voiduninstall(BundleImpl bundle)protected voidunregister(BundleRegistration reg)
-
-
-
Constructor Detail
-
BundleRegistry
public BundleRegistry()
-
-
Method Detail
-
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()
-
-