org.universAAL.context.prof.serv.osgi
Class Activator

Package class diagram package Activator
java.lang.Object
  extended by org.universAAL.context.prof.serv.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. Initializes provided services and SCallee.

Author:
alfiva

Constructor Summary
Activator()
           
 
Method Summary
static ModuleContext getModuleContext()
          Get the uaal module context.
 void serviceChanged(org.osgi.framework.ServiceEvent event)
           
 void start(org.osgi.framework.BundleContext bcontext)
           
 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
 

Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bcontext)
           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

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. This is only needed for integration test.

Returns:
the module context


Copyright © 2014 universAAL Consortium. All Rights Reserved.