public class Activator extends Object implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
static String |
COMMENTS |
static org.osgi.framework.BundleContext |
context |
static ModuleContext |
moduleContext |
static String |
PROPS_FILE |
static String |
UNINITIALIZED_SUFFIX |
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
static Properties |
getProperties()
Gets the commissioning location properties of already known devices from
a preset file.
|
static void |
setProperties(Properties prop)
Saves commissioning location properties of devices in a preset file.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext arg0) |
public static org.osgi.framework.BundleContext context
public static ModuleContext moduleContext
public static final String PROPS_FILE
public static final String COMMENTS
public static final String UNINITIALIZED_SUFFIX
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
Exception
public void stop(org.osgi.framework.BundleContext arg0) throws Exception
stop
in interface org.osgi.framework.BundleActivator
Exception
public static void setProperties(Properties prop)
FullDeviceID=URIsuffixOfRoom
prop
- public static Properties getProperties()
FullDeviceID=URIsuffixOfRoom
If the file does not exists, it is created.Properties
object with the commissioning data.Copyright © 2015 universAAL Consortium. All Rights Reserved.