org.universAAL.context.chemobile.osgi
Class Activator
java.lang.Object
org.universAAL.context.chemobile.osgi.Activator
- All Implemented Interfaces:
- EventListener, org.osgi.framework.BundleActivator, org.osgi.framework.ServiceListener
public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator, org.osgi.framework.ServiceListener
OSGI activator. Relays start and stop to Hub.
- Author:
- Alvaro Fides Valero
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
osgiConfigPath
public static final String osgiConfigPath
- The path to the config file. Here so it's decoupled from Hub.
Activator
public Activator()
start
public void start(org.osgi.framework.BundleContext context)
- Specified by:
start
in interface org.osgi.framework.BundleActivator
stop
public void stop(org.osgi.framework.BundleContext context)
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
serviceChanged
public void serviceChanged(org.osgi.framework.ServiceEvent event)
- Specified by:
serviceChanged
in interface org.osgi.framework.ServiceListener
getModuleContext
public static ModuleContext getModuleContext()
- Get the uAAL Module Context.
- Returns:
- The module context.
Copyright © 2014 universAAL Consortium. All Rights Reserved.