public class DBFileHandler extends Object implements org.apache.felix.fileinstall.ArtifactInstaller, IDBAdapter
| Constructor and Description |
|---|
DBFileHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDPInfosListener(DPInfosListener listener) |
boolean |
canHandle(File dbFile) |
String |
getDeviceAdapterId(Set<String> interfaceSet)
Get deployment package id associated with the interface list given as parameter.
|
Object |
getDeviceAdapterUrl(String dpId)
Get the deployment package url related to the id given as parameter.
|
DPInfosListener[] |
getDPInfosListeners() |
void |
install(File dbFile) |
void |
removeDPInfosListener(DPInfosListener listener) |
void |
uninstall(File dbFile) |
void |
update(File dbFile) |
public boolean canHandle(File dbFile)
canHandle in interface org.apache.felix.fileinstall.ArtifactListenerpublic void install(File dbFile) throws Exception
install in interface org.apache.felix.fileinstall.ArtifactInstallerExceptionpublic void update(File dbFile) throws Exception
update in interface org.apache.felix.fileinstall.ArtifactInstallerExceptionpublic void uninstall(File dbFile) throws Exception
uninstall in interface org.apache.felix.fileinstall.ArtifactInstallerExceptionpublic String getDeviceAdapterId(Set<String> interfaceSet)
IDBAdaptergetDeviceAdapterId in interface IDBAdapterpublic Object getDeviceAdapterUrl(String dpId)
IDBAdaptergetDeviceAdapterUrl in interface IDBAdapterdpId - the dpid whose url need to be fetched.public void addDPInfosListener(DPInfosListener listener)
addDPInfosListener in interface IDBAdapterpublic void removeDPInfosListener(DPInfosListener listener)
removeDPInfosListener in interface IDBAdapterpublic DPInfosListener[] getDPInfosListeners()
Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.