public class BundleRegistry extends Object
| Constructor and Description |
|---|
BundleRegistry() |
| Modifier and Type | Method and 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) |
public BundleRegistry()
public void addBundleAlias(String alias, String symbolicName)
public BundleImpl getBundle(long id)
public BundleImpl getBundle(String symbolicName)
public BundleImpl[] getFragments(String symbolicName)
public BundleImpl[] getInstalledBundles()
public void install(BundleImpl bundle) throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionpublic void uninstall(BundleImpl bundle) throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionprotected void unregister(BundleRegistration reg) throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionprotected void doPostpone(BundleRegistration reg)
protected void doRegister(BundleRegistration reg) throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionpublic void shutdown()
Copyright © 2019 Nuxeo. All rights reserved.