Hi,
as per https://issues.apache.org/jira/browse/STANBOL-710
I would like to move all adapters of Ontology Manager objects to
dedicated bundles.
Say I have the Scope implementation in ontologymanager.core and it has
an export(Class<T> returnType) method that I implement for exporting the
Scope to a clerezza.TripleCollection or owlapi.OWLOntology. I would like
to delegate the implementations to a Clerezza adapter and an OWL API
adapter and whatnot, each in its own bundle. I don't want stuff like
ClerezzaScopeImpl and OwlApiScopeImpl around, just one generic
implementation and then the adapters elsewhere.
I thought the Sling Adapter API could be nice to reuse. I found some
docs here:
http://sling.apache.org/site/adapters.html
but it seems we never included the org.apache.sling:org.apache.sling.api
artifact in the Stanbol parent, nor in any bundle loaded in our
launchers (version 2.2.0+). So there's no adapter manager, no factory,
no class definitions.
Do you think this API should be used or I should make an in-house
adapter API like we did with Rules? Is it a good idea at all?
Thanks
Alessandro
--
M.Sc. Alessandro Adamou
Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy
Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy
"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)
Not sent from my iSnobTechDevice