org.universAAL.context.reasoner
Class ReasoningProvider
java.lang.Object
org.universAAL.middleware.bus.member.BusMember
org.universAAL.middleware.bus.member.Callee
org.universAAL.middleware.service.ServiceCallee
org.universAAL.context.reasoner.ReasoningProvider
public class ReasoningProvider
- extends ServiceCallee
The main task of the ReasoningProvider is the handle Situations, Queries and
Rules (please have a look also at the description in the Activator). The
according objects are handled in a class called "ElementModel" that is able
the manage objects of the kind like given by the generic attribute. To manage
does mean to add/remove/get objects and also save/load them at the
file-system.
- Author:
- amarinc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReasoningProvider
public ReasoningProvider(ModuleContext context)
communicationChannelBroken
public void communicationChannelBroken()
- Description copied from class:
ServiceCallee
- This abstract method is called for each member of the bus when the bus is
being stopped.
- Specified by:
communicationChannelBroken
in class ServiceCallee
saveAllData
public void saveAllData()
deleteContextSubscriptions
public void deleteContextSubscriptions()
handleCall
public ServiceResponse handleCall(ServiceCall call)
- This methods seems to be some kind of strange because of the usage from
the handleRequest method. This is a result of the simple fact the all
services managed by this class are only used to add/remove/get objects of
the ontology. Since the differences here are only in the used URI's I
saved a lot of code by modularize this part.
- Specified by:
handleCall
in class ServiceCallee
- Parameters:
call
- the call that needs to be serviced.
- Returns:
- the result of the call execution.
Copyright © 2014 universAAL Consortium. All Rights Reserved.