See: Description
| Interface | Description |
|---|---|
| TransactionalTreeDatabase |
The interface is used to maintain the gateways tree structure.
|
| TreeDatabase |
The interface is used to maintain the gateways tree structure.
|
| TreeDatabaseFactory |
The interface of this package is used to maintain the data in the database for the tree structure of gateways database.
It provides the ability to add, remove and update nodes in tree structure of gateways.
It also provides the ability to use transactions to maintain the data in the tree database.
The TreeDatabase is accessible to the other bundles as a service on the backend framework through the methods defined by the OSGi Framework specification.
Example :
|
import com.prosyst.mprm.backend.database.tree.TreeDatabase; import org.osgi.framework.BundleContext; import org.osgi.framework.ServiceReference; ..... public TreeDatabase getTreeDatabase(BundleContext context) { TreeDatabase td = null; ServiceReference tdRef = context.getServiceReference("com.prosyst.mprm.backend.database.tree.TreeDatabase"); if (tdRef != null) { td = (TreeDatabase)context.getService(tdRef); } return td; } ..... |
Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.