
Replace PelletListener with a TBoxReasonerModule in the Application. The reasoner will be accessible only through here, not as a context attribute or through the WebappDaoFactory. Split out the initialization of the TBox reasoner from SimpleReasonerSetup. Break out the filtering of TBox changes into a ConfiguredReasonerListener. Refactor the threading logic into a BasicTBoxReasonerDriver. Add a factory for creating VitroBackgroundThreads in an Executor. Isolate the actual reasoner into a TBoxReasoner implementation. In this case, PelletTBoxReasoner. Combine the consistency flag, error flag, explanation, and running status into one TBoxReasonerStatus object.
40 lines
No EOL
2.1 KiB
Text
40 lines
No EOL
2.1 KiB
Text
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
|
|
|
|
:application
|
|
a <java:edu.cornell.mannlib.vitro.webapp.application.ApplicationImpl> ,
|
|
<java:edu.cornell.mannlib.vitro.webapp.modules.Application> ;
|
|
:hasSearchEngine :instrumentedSearchEngineWrapper ;
|
|
:hasImageProcessor :jaiImageProcessor ;
|
|
:hasFileStorage :ptiFileStorage ;
|
|
:hasContentTripleSource :sdbContentTripleSource ;
|
|
:hasConfigurationTripleSource :tdbConfigurationTripleSource ;
|
|
:hasTBoxReasonerModule :pelletTBoxReasonerModule .
|
|
|
|
:jaiImageProcessor
|
|
a <java:edu.cornell.mannlib.vitro.webapp.imageprocessor.jai.JaiImageProcessor> ,
|
|
<java:edu.cornell.mannlib.vitro.webapp.modules.imageProcessor.ImageProcessor> .
|
|
|
|
:ptiFileStorage
|
|
a <java:edu.cornell.mannlib.vitro.webapp.filestorage.impl.FileStorageImplWrapper> ,
|
|
<java:edu.cornell.mannlib.vitro.webapp.modules.fileStorage.FileStorage> .
|
|
|
|
:instrumentedSearchEngineWrapper
|
|
a <java:edu.cornell.mannlib.vitro.webapp.searchengine.InstrumentedSearchEngineWrapper> ,
|
|
<java:edu.cornell.mannlib.vitro.webapp.modules.searchEngine.SearchEngine> ;
|
|
:wraps :solrSearchEngine .
|
|
|
|
:solrSearchEngine
|
|
a <java:edu.cornell.mannlib.vitro.webapp.searchengine.solr.SolrSearchEngine> ,
|
|
<java:edu.cornell.mannlib.vitro.webapp.modules.searchEngine.SearchEngine> .
|
|
|
|
:sdbContentTripleSource
|
|
a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.sdb.ContentTripleSourceSDB> ,
|
|
<java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ContentTripleSource> .
|
|
|
|
:tdbConfigurationTripleSource
|
|
a <java:edu.cornell.mannlib.vitro.webapp.triplesource.impl.tdb.ConfigurationTripleSourceTDB> ,
|
|
<java:edu.cornell.mannlib.vitro.webapp.modules.tripleSource.ConfigurationTripleSource> .
|
|
|
|
:pelletTBoxReasonerModule
|
|
a <java:edu.cornell.mannlib.vitro.webapp.tboxreasoner.impl.pellet.PelletTBoxReasonerModule> ,
|
|
<java:edu.cornell.mannlib.vitro.webapp.modules.tboxreasoner.TBoxReasonerModule> . |