On Thu, Nov 22, 2012 at 12:10 PM, Bertrand Delacretaz <[email protected]> wrote: > > Isn't the "hub" part an implementation detail? > > EntityLinkingEngine sounds better to be - but no strong opinion, > whoever does the work decides.
Good point. While refactoring the code I came to the same conclusion Currently I have (1) "EntityLinkingEngine": This is the class implementing the EnhancementEngine interface and in registered as OSGI service and (2) "EntityhubLinkingEngine": The OSGI Component that gets the configuration, registered an ServiceTracker for the Entityhub Site and registers the "EntityLinkingEngine" instance as soon as all the required Services are available. The goal of this is to make it really easy implement a "MyServiceLinkingEngine". Even my current refactoring we are not yet there, but it is getting much better. best Rupert -- | Rupert Westenthaler [email protected] | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen
