public class Activator extends Object implements org.osgi.framework.BundleActivator, org.osgi.framework.ServiceListener
| Modifier and Type | Field and Description |
|---|---|
static org.osgi.framework.BundleContext |
context |
static ModuleContext |
mc |
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
static Vector<FS20RGBSADevice> |
getDisplays() |
static Vector<FS20FMSDevice> |
getFMSs() |
static Vector<FS20SIGDevice> |
getGongs() |
static Vector<FS20PIRxDevice> |
getMotionsensors() |
static Vector<FS20STDevice> |
getSwitches() |
void |
serviceChanged(org.osgi.framework.ServiceEvent event)
Listens on OSGi service events and handles them If a new service is
registered the received device will be stored.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext arg0) |
public static org.osgi.framework.BundleContext context
public static ModuleContext mc
public void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionpublic void stop(org.osgi.framework.BundleContext arg0)
throws Exception
stop in interface org.osgi.framework.BundleActivatorExceptionpublic void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged in interface org.osgi.framework.ServiceListenerpublic static Vector<FS20RGBSADevice> getDisplays()
public static Vector<FS20PIRxDevice> getMotionsensors()
public static Vector<FS20SIGDevice> getGongs()
public static Vector<FS20FMSDevice> getFMSs()
public static Vector<FS20STDevice> getSwitches()
Copyright © 2018 universAAL Consortium. All rights reserved.