org.openmuc.core.datamanager.impl
Class DataManagerImpl
java.lang.Object
org.openmuc.core.datamanager.impl.DataManagerImpl
- All Implemented Interfaces:
- DataManager
public class DataManagerImpl
- extends java.lang.Object
- implements DataManager
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataManagerImpl
protected DataManagerImpl(org.osgi.framework.BundleContext bc,
DeviceDriverManager manager,
ConfigurationService configuration)
restart
protected void restart()
addDataStorage
protected void addDataStorage(DataStorage storage)
getDataStorage
public DataStorage getDataStorage(java.lang.String label,
Authentication auth)
- Description copied from interface:
DataManager
- Get the DataStorage object with the given label as identifier
- Specified by:
getDataStorage
in interface DataManager
- Parameters:
label
- unique identification of the DataStorageauth
- username / secret
- Returns:
- reference to the demanded DataStorage object
getDeviceDirectory
public java.util.List<java.lang.String> getDeviceDirectory()
- Description copied from interface:
DataManager
- Get a list of all measurement and control data items provided by this
DataManager
- Specified by:
getDeviceDirectory
in interface DataManager
getDataStorages
protected java.util.List<DataStorage> getDataStorages()
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
getPlantInfo
public PlantInfo getPlantInfo()
- Description copied from interface:
DataManager
- Get Information about the plant including the plant identification/name
- Specified by:
getPlantInfo
in interface DataManager