public class OntAutoLoader extends Object implements ModuleActivator
Constructor and Description |
---|
OntAutoLoader() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
generateOntFiles4ALL()
Write to target/ontologies the serializations (in TTL, and OWL) of all
loaded ontologies for the testcase.
|
protected boolean |
generateOntFiles4Ont(Ontology ont)
Write to target/ontologies the serializations (in TTL, and OWL) of a
given ontology.
|
protected MessageContentSerializer |
getContentserializer()
Recovers the serializer.
|
void |
start(ModuleContext mc)
Attempts to load all ontology modules, if fail it will attempt later,
after, if fortunately, dependant ontologies are loaded.
|
void |
stop(ModuleContext mc)
Called when this module is stopped so the Framework can perform the
module-specific activities necessary to stop the module.
|
public void start(ModuleContext mc)
start
in interface ModuleActivator
mc
- The execution context of the module being started.public void stop(ModuleContext mc)
ModuleActivator
stop
in interface ModuleActivator
mc
- The execution context of the module being stopped.protected MessageContentSerializer getContentserializer()
protected boolean generateOntFiles4Ont(Ontology ont)
ont
- the ontology to be serialized.protected boolean generateOntFiles4ALL()
Copyright © 2019 universAAL Consortium. All rights reserved.