|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.context.prof.serv.Hub
public class Hub
Central class that takes care of starting and stopping application. It used to be the Activator class before splitting the OSGi logic.
Field Summary | |
---|---|
protected static ModuleContext |
moduleContext
uAAL Module context. |
protected static MessageContentSerializerEx |
parser
Turtle parser |
protected static SCallee |
scallee
Service Callee |
protected static SCaller |
scaller
Service Caller |
Constructor Summary | |
---|---|
Hub()
Default constructor. |
Method Summary | |
---|---|
void |
setuAALParser(MessageContentSerializerEx service)
Set the turtle-uaal parser. |
void |
start(ModuleContext context)
To be called when application starts. |
void |
stop()
To be called when application stops. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static SCallee scallee
protected static SCaller scaller
protected static MessageContentSerializerEx parser
protected static ModuleContext moduleContext
Constructor Detail |
---|
public Hub()
Method Detail |
---|
public void start(ModuleContext context)
context
- uaal module contextpublic final void stop() throws Exception
Exception
public void setuAALParser(MessageContentSerializerEx service)
service
- The parser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |