|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.brayan.SECS.BLL.ContextManager
public class ContextManager
Singleton Context Manger comprises of a Context Assembler and Context Provider.
| Field Summary | |
|---|---|
private static ContextManager |
ref
|
| Constructor Summary | |
|---|---|
private |
ContextManager()
constructor not allowed to be called externally |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
this overrides the clone() method - because it's of no use to us |
private void |
createOntoEvent(Event event)
This method prepares the event node to insert the Event into the ontology |
Event |
enrichEvent(Event event)
Enrich the passed event with Attention, a Sensor Event is a specialization of Event and can also be used. |
private Person |
findPerson(java.lang.String firstname,
java.lang.String familyName)
This method searches for an existing Person in the ontology |
static ContextManager |
getSingletonObject()
|
private void |
listTEST1()
|
private void |
listTEST2()
|
private void |
listTEST3()
|
private Event |
mapSensorEventWithContext(Event event)
This method is supposed to find out and map an invoked event to a context. |
void |
receiveSensorEvent(SensorEvent senEvent)
This method receives Sensor Events and enriches them with further data from sources like a personal or enterprise ontology. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static ContextManager ref
| Constructor Detail |
|---|
private ContextManager()
| Method Detail |
|---|
public static ContextManager getSingletonObject()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic void receiveSensorEvent(SensorEvent senEvent)
senEvent - is a Sensor Event that still can be enriched or modified if better information is availablepublic Event enrichEvent(Event event)
event - private Event mapSensorEventWithContext(Event event)
senEvent - is a Sensor Event that still can be enriched or modified if better information is availableprivate void createOntoEvent(Event event)
senEvent -
private Person findPerson(java.lang.String firstname,
java.lang.String familyName)
fullName -
private void listTEST1()
private void listTEST2()
private void listTEST3()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||