org.universAAL.lddi.fs20.server
Class Activator

Package class diagram package Activator
java.lang.Object
  extended by org.universAAL.lddi.fs20.server.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

Activator class, it establishes a connection to the FS20 network, starts a FS20 event listener and initializes to read all FS20 devices out of property files

Author:
Steeven Zeiss Fraunhofer IGD (steeven.zeiss@igd.fraunhofer.de)

Constructor Summary
Activator()
           
 
Method Summary
 HashMap<String,org.osgi.framework.ServiceRegistration> getAllDeviceRegistrations()
          Get all registered devices as ServiceRegistrations
static org.osgi.framework.BundleContext getContext()
           
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
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

getContext

public static org.osgi.framework.BundleContext getContext()

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 context)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception

getAllDeviceRegistrations

public HashMap<String,org.osgi.framework.ServiceRegistration> getAllDeviceRegistrations()
Get all registered devices as ServiceRegistrations

Returns:
returns all ServiceRegistrations


Copyright © 2014 universAAL Consortium. All Rights Reserved.