2011/4/15 Rupert Westenthaler <[email protected]>: > Hi > > The LocationEnhancementEngine (geonames.org) defines an dependency to > "OnlineMode" so if the "OfflineMode" is activated this dependency > would be no longer available and the Engine would be deactivated by > OSGI. > > Fot the ReferencedSiteEntityTaggingEnhancementEngine this decision is > not static but depends on > (1) The configuration of the ReferencedSite (if a local Cache is > configured and the used CacheStrategy supports queries on the local > cache > (2) If the local Cache is currently active > > Note also that this engine uses "configurationFactory = true" so there > may be multiple instances using different referenced sites. > > The question is: > > Is it enough to > (a) avoid the execution of the computeEnhancements(...) in cases it > is not possible because Stanbol operates in OfflineMode or > (b) is it required to deactivate the enhancement engine. >
I think (a) is good enough for now. We might revise this once we implement configurable engines chains. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel
