|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BundleFrameworkManager
| Nested Class Summary | |
|---|---|
static interface |
BundleFrameworkManager.BundleLocator
|
| Field Summary | |
|---|---|
static Object |
SHARED_FRAMEWORK_LOCK
All additions/removals of frameworks and bundles from the shared bundle framework are performed under this object lock. |
| Method Summary | |
|---|---|
boolean |
allowsUpdate(DeploymentMetadata newMetadata,
DeploymentMetadata oldMetadata)
|
BundleFramework |
getBundleFramework(org.osgi.framework.Bundle frameworkBundle)
Gets the BundleFramework object associated with the given bundle |
BundleFramework |
getSharedBundleFramework()
Gets a reference to the single shared bundle framework. |
org.osgi.framework.Bundle |
installIsolatedBundles(Collection<BundleRepository.BundleSuggestion> bundlesToInstall,
AriesApplication app)
Creates a new framework inside the shared bundle framework and installs a collection of bundles into the framework. |
Collection<org.osgi.framework.Bundle> |
installSharedBundles(Collection<BundleRepository.BundleSuggestion> bundlesToInstall,
AriesApplication app)
Installs a collection of shared bundles to the shared bundle framework |
void |
startBundle(org.osgi.framework.Bundle b)
Starts a previously installed bundle |
void |
stopBundle(org.osgi.framework.Bundle b)
Stops a previously installed bundle |
void |
uninstallBundle(org.osgi.framework.Bundle b)
Removes a bundle from the runtime |
void |
updateBundles(DeploymentMetadata newMetadata,
DeploymentMetadata oldMetadata,
AriesApplication app,
BundleFrameworkManager.BundleLocator locator,
Set<org.osgi.framework.Bundle> bundles,
boolean startBundles)
|
| Field Detail |
|---|
static final Object SHARED_FRAMEWORK_LOCK
| Method Detail |
|---|
BundleFramework getBundleFramework(org.osgi.framework.Bundle frameworkBundle)
frameworkBundle - - The bundle representing the bundle framework
BundleFramework getSharedBundleFramework()
org.osgi.framework.Bundle installIsolatedBundles(Collection<BundleRepository.BundleSuggestion> bundlesToInstall,
AriesApplication app)
throws org.osgi.framework.BundleException
bundlesToInstall - The collection of bundles to be installedapp - The application associated with this install
org.osgi.framework.BundleException
Collection<org.osgi.framework.Bundle> installSharedBundles(Collection<BundleRepository.BundleSuggestion> bundlesToInstall,
AriesApplication app)
throws org.osgi.framework.BundleException
bundlesToInstall - app -
org.osgi.framework.BundleException
boolean allowsUpdate(DeploymentMetadata newMetadata,
DeploymentMetadata oldMetadata)
void updateBundles(DeploymentMetadata newMetadata,
DeploymentMetadata oldMetadata,
AriesApplication app,
BundleFrameworkManager.BundleLocator locator,
Set<org.osgi.framework.Bundle> bundles,
boolean startBundles)
throws UpdateException
UpdateException
void startBundle(org.osgi.framework.Bundle b)
throws org.osgi.framework.BundleException
b -
org.osgi.framework.BundleException
void stopBundle(org.osgi.framework.Bundle b)
throws org.osgi.framework.BundleException
b -
org.osgi.framework.BundleException
void uninstallBundle(org.osgi.framework.Bundle b)
throws org.osgi.framework.BundleException
b -
org.osgi.framework.BundleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||