org.universAAL.lddi.fs20.server
Class DeviceReader

Package class diagram package DeviceReader
java.lang.Object
  extended by org.universAAL.lddi.fs20.server.DeviceReader

public class DeviceReader
extends Object

Load all devices out of property files stored in the folder rundir/confadmin/fs20 and register them to OSGi

Author:
Steeven Zeiss Fraunhofer IGD (steeven.zeiss@igd.fraunhofer.de)

Constructor Summary
DeviceReader()
           
 
Method Summary
static HashMap<String,org.osgi.framework.ServiceRegistration> readDevices(org.osgi.framework.BundleContext context, FHZ1000PC connection)
          Load all devices out of property files stored in the folder rundir/confadmin/fs20
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceReader

public DeviceReader()
Method Detail

readDevices

public static HashMap<String,org.osgi.framework.ServiceRegistration> readDevices(org.osgi.framework.BundleContext context,
                                                                                 FHZ1000PC connection)
Load all devices out of property files stored in the folder rundir/confadmin/fs20

Parameters:
context - = bundle context for registering the devices as services
connection - = the connection to the FS20 network
Returns:
returns all ServiceRegistrations


Copyright © 2014 universAAL Consortium. All Rights Reserved.