Class AbstractBundleInfoDb
java.lang.Object
org.opencastproject.kernel.bundleinfo.AbstractBundleInfoDb
- All Implemented Interfaces:
BundleInfoDb
- Direct Known Subclasses:
OsgiBundleInfoDb
-
Constructor Summary
Constructors -
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.protected abstract org.opencastproject.db.DBSessionvoidstore(BundleInfo info) Store a bundle info object.
-
Constructor Details
-
AbstractBundleInfoDb
public AbstractBundleInfoDb()
-
-
Method Details
-
getDBSession
protected abstract org.opencastproject.db.DBSession getDBSession() -
store
Description copied from interface:BundleInfoDbStore a bundle info object.- Specified by:
storein interfaceBundleInfoDb
-
delete
Description copied from interface:BundleInfoDbDelete a bundle.- Specified by:
deletein interfaceBundleInfoDb
-
clear
Description copied from interface:BundleInfoDbClear the database for a certain host.- Specified by:
clearin interfaceBundleInfoDb
-
clearAll
Description copied from interface:BundleInfoDbClear the complete database.- Specified by:
clearAllin interfaceBundleInfoDb- Throws:
BundleInfoDbException
-
getBundles
Description copied from interface:BundleInfoDbReturn a list of all running bundles.- Specified by:
getBundlesin interfaceBundleInfoDb
-
getBundles
Description copied from interface:BundleInfoDbReturn a list of all running bundles whose symbolic names start with one of the given prefixes.- Specified by:
getBundlesin interfaceBundleInfoDb- Throws:
BundleInfoDbException
-