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 void
addBundleAlias(String alias, String symbolicName)
protected void
doPostpone(BundleRegistration reg)
protected void
doRegister(BundleRegistration reg)
BundleImpl
getBundle(long id)
BundleImpl
getBundle(String symbolicName)
BundleImpl[]
getFragments(String symbolicName)
BundleImpl[]
getInstalledBundles()
void
install(BundleImpl bundle)
void
shutdown()
void
uninstall(BundleImpl bundle)
protected void
unregister(BundleRegistration reg)
-
-
-
Method Detail
-
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()
-
-