|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BundleStorage
Interface for managing all bundles jar content.
| Method Summary | |
|---|---|
BundleArchive[] |
getAllBundleArchives()
Get all bundle archive objects. |
java.util.List |
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. |
void |
setCheckSigned(boolean value)
Set if bundles in this storage should check if they are signed. |
BundleArchive |
updateBundleArchive(BundleArchive old,
java.io.InputStream is)
Insert a new jar file into persistent storagedata as an update to an existing bundle archive. |
| Method Detail |
|---|
BundleArchive insertBundleJar(java.lang.String location,
java.io.InputStream is)
throws java.lang.Exception
key - Name of attribute to get.
java.lang.Exception
BundleArchive updateBundleArchive(BundleArchive old,
java.io.InputStream is)
throws java.lang.Exception
replaceBundleArchive is needed.
old - BundleArchive to be replaced.is - Inputstrem with bundle content.
java.lang.Exception
void replaceBundleArchive(BundleArchive oldBA,
BundleArchive newBA)
throws java.lang.Exception
oldBA - BundleArchive to be replaced.newBA - Inputstrem with bundle content.
java.lang.ExceptionBundleArchive[] getAllBundleArchives()
java.util.List getStartOnLaunchBundles()
void setCheckSigned(boolean value)
value - If true check for certificates.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||