On 07/01/14 11:35, Dimitry Sibiryakov wrote:
> 01.07.2014 8:47, Alex Peshkoff wrote:
>> getMo_g_ule() is really missing, but getMo_d_ule(), returning pointer to
>> IPluginModule, is present in MasterImplementation::upgradeInterface()
>     So far there is only one version, upgradeInterface() is not ever called.

We should better think about future versions here.

> And even there
> returned module is never used.

This ptr is used to distinguish modules between each other. Method is 
not called in this function.
It's called ln class PluginModule in plugin manager. And this interface 
is used to detect unexpected exit() call in user program possible in 
embedded case.

>     What's the point to have whole class for the sake of one function which 
> much better can
> be in the Factory interface or independently exported?..
>

Don't mix plugin instance and plugin module. Interface IPluginModule is 
not only for providing doClean function, it's a collection of 
functionalities required for module, not instance.


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to