- 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
Activator of the reasoner. Basically it is used to prepare the the
ReasoningProvider. The reasoner is basically a manager for situations,
queries and rules. A Situation is currently (need to be improved) represented
by three URI's: Subject, Predicate and Object. Subject and Object can be a
concrete instances or also types. The subject is mandatory but the other two
are optional. A Query is either a SPARQL Construct-Query or created out of a
given Context-Event and a search-string. A Rule combines a situation with a
query. If a context-event is posted on the context-bus that matches the
parameters given by the situation in a rule, then the according query is
performed at the CHE and the resulting ContextEvent of the Construct-Query is
posted at the Context-bus.
- Author:
- alfiva, amarinc