org.universAAL.hw.exporter.zigbee.ha
Class Activator

Package class diagram package Activator
java.lang.Object
  extended by org.universAAL.hw.exporter.zigbee.ha.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends Object
implements org.osgi.framework.BundleActivator


Field Summary
static String COMMENTS
           
static org.osgi.framework.BundleContext context
           
static ModuleContext moduleContext
           
static String PROPS_FILE
           
static String UNINITIALIZED_SUFFIX
           
 
Constructor Summary
Activator()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

public static org.osgi.framework.BundleContext context

moduleContext

public static ModuleContext moduleContext

PROPS_FILE

public static final String PROPS_FILE
See Also:
Constant Field Values

COMMENTS

public static final String COMMENTS
See Also:
Constant Field Values

UNINITIALIZED_SUFFIX

public static final String UNINITIALIZED_SUFFIX
See Also:
Constant Field Values
Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext arg0)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception

setProperties

public static void setProperties(Properties prop)
Saves commissioning location properties of devices in a preset file. The current format of property=value stored is: FullDeviceID=URIsuffixOfRoom

Parameters:
prop -

getProperties

public static Properties getProperties()
Gets the commissioning location properties of already known devices from a preset file. The current format of property=value stored is: FullDeviceID=URIsuffixOfRoom If the file does not exists, it is created.

Returns:
The Properties object with the commissioning data.


Copyright © 2014 universAAL Consortium. All Rights Reserved.