org.universAAL.samples.context.reasoner.client.osgi
Class Activator

Package class diagram package Activator
java.lang.Object
  extended by org.universAAL.samples.context.reasoner.client.osgi.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

This bundle offers classes to get access and make changes on the situation reasoner. The basic idea behind this to not force a programmer to take use of the basic universAAL functionality but use the reasoner with simple method calls like provided by the ReasoningCaller. In addition there is the class ContextEventRecorder that record all events at the context-bus (and therefore possible Type-URI's, instances and its URI's in the system, ... ). This can be used to offer possibilities for the elements of the Situations, Queries and Rules to a user and therefore simplify the process of creating them. The class CHECaller can be used to perform SPARQL-Queries at the CHE.

Author:
amarinc

Field Summary
static ModuleContext context
           
 
Constructor Summary
Activator()
           
 
Method Summary
 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
 

Field Detail

context

public static ModuleContext context
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


Copyright © 2014 universAAL Consortium. All Rights Reserved.