public interface BundleStorage
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this bundle storage and all bundles in it.
|
BundleArchive[] |
getAllBundleArchives()
Get all bundle archive objects.
|
java.util.List<java.lang.String> |
getStartOnLaunchBundles()
Get all bundles tagged to start at next launch of framework.
|
BundleArchive |
insertBundleJar(java.lang.String location,
java.io.InputStream is)
Insert bundle into persistent storagedata.
|
void |
replaceBundleArchive(BundleArchive oldBA,
BundleArchive newBA)
Replace old bundle archive with a new updated bundle archive, that
was created with updateBundleArchive.
|
BundleArchive |
updateBundleArchive(BundleArchive old,
java.io.InputStream is)
Insert a new jar file into persistent storagedata as an update
to an existing bundle archive.
|
BundleArchive insertBundleJar(java.lang.String location, java.io.InputStream is) throws java.lang.Exception
location - Locaion of bundle to install.is - Inputstream containing bundle.java.lang.ExceptionBundleArchive updateBundleArchive(BundleArchive old, java.io.InputStream is) throws java.lang.Exception
replaceBundleArchive is needed.old - BundleArchive to be replaced.is - Input-stream with bundle content.java.lang.Exceptionvoid replaceBundleArchive(BundleArchive oldBA, BundleArchive newBA) throws java.lang.Exception
oldBA - BundleArchive to be replaced.newBA - BundleArchive with bundle content.java.lang.ExceptionBundleArchive[] getAllBundleArchives()
java.util.List<java.lang.String> getStartOnLaunchBundles()
void close()