Previous Topic

Next Topic

Book Contents

Book Index

DB Manager Service

This document describes the DB Manager Service and the DB interface.

Overview

Keeping data of all bundles in a common database may lead to significant losses if the framework and its storage crash. The DB Manager service allows for:

For more information check the Developer Guide – Database.

Registering Bundle

This service is provided by Core Database Bundle.

DB Interface

The DB interface allows access to a tree database, where each bundle has its own branch. Bundles are prevented from accessing data, located in another branch. A database is an com.prosyst.mbs.services.db.DB instance, which keeps data in nodes in the form of name/value pairs.

As described in Developer Guide there are two types of databases that may be used: