Interface BundleInfoDb
- All Known Implementing Classes:
AbstractBundleInfoDb,OsgiBundleInfoDb
public interface BundleInfoDb
Persistence for bundle information.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClear the database for a certain host.voidclearAll()Clear the complete database.voidDelete a bundle.Return a list of all running bundles.getBundles(String... prefixes) Return a list of all running bundles whose symbolic names start with one of the given prefixes.voidstore(BundleInfo info) Store a bundle info object.
-
Method Details
-
store
Store a bundle info object.- Throws:
BundleInfoDbException
-
delete
Delete a bundle.- Throws:
BundleInfoDbException
-
clear
Clear the database for a certain host.- Throws:
BundleInfoDbException
-
clearAll
Clear the complete database.- Throws:
BundleInfoDbException
-
getBundles
Return a list of all running bundles.- Throws:
BundleInfoDbException
-
getBundles
Return a list of all running bundles whose symbolic names start with one of the given prefixes.- Throws:
BundleInfoDbException
-