|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.context.chemobile.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 File |
confHome
Config folder. |
Constructor Summary | |
---|---|
Hub()
|
Method Summary | |
---|---|
void |
setuAALParser(MessageContentSerializer 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 File confHome
Constructor Detail |
---|
public Hub()
Method Detail |
---|
public void start(ModuleContext context) throws Exception
context
- uaal module context
Exception
- If anything goes wrongpublic void stop() throws Exception
Exception
public void setuAALParser(MessageContentSerializer service)
service
- The parser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |