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.BundleException
public void uninstall(BundleImpl bundle) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
protected void unregister(BundleRegistration reg) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
protected void doPostpone(BundleRegistration reg)
protected void doRegister(BundleRegistration reg) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public void shutdown()
Copyright © 2015 Nuxeo SA. All rights reserved.