|
||||||||||
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(Bundle frameworkBundle)
Gets the BundleFramework object associated with the given bundle |
BundleFramework |
getSharedBundleFramework()
Gets a reference to the single shared bundle 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<Bundle> |
installSharedBundles(Collection<BundleRepository.BundleSuggestion> bundlesToInstall,
AriesApplication app)
Installs a collection of shared bundles to the shared bundle framework |
void |
startBundle(Bundle b)
Starts a previously installed bundle |
void |
stopBundle(Bundle b)
Stops a previously installed bundle |
void |
uninstallBundle(Bundle b)
Removes a bundle from the runtime |
void |
updateBundles(DeploymentMetadata newMetadata,
DeploymentMetadata oldMetadata,
AriesApplication app,
BundleFrameworkManager.BundleLocator locator,
Set<Bundle> bundles,
boolean startBundles)
|
Field Detail |
---|
static final Object SHARED_FRAMEWORK_LOCK
Method Detail |
---|
BundleFramework getBundleFramework(Bundle frameworkBundle)
frameworkBundle
- - The bundle representing the bundle framework
BundleFramework getSharedBundleFramework()
Bundle installIsolatedBundles(Collection<BundleRepository.BundleSuggestion> bundlesToInstall, AriesApplication app) throws BundleException
bundlesToInstall
- The collection of bundles to be installedapp
- The application associated with this install
BundleException
Collection<Bundle> installSharedBundles(Collection<BundleRepository.BundleSuggestion> bundlesToInstall, AriesApplication app) throws BundleException
bundlesToInstall
- app
-
BundleException
boolean allowsUpdate(DeploymentMetadata newMetadata, DeploymentMetadata oldMetadata)
void updateBundles(DeploymentMetadata newMetadata, DeploymentMetadata oldMetadata, AriesApplication app, BundleFrameworkManager.BundleLocator locator, Set<Bundle> bundles, boolean startBundles) throws UpdateException
UpdateException
void startBundle(Bundle b) throws BundleException
b
-
BundleException
void stopBundle(Bundle b) throws BundleException
b
-
BundleException
void uninstallBundle(Bundle b) throws BundleException
b
-
BundleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |