On 07/01/14 15:47, Dimitry Sibiryakov wrote: > 01.07.2014 10:34, Alex Peshkoff wrote: >> Interface IPluginModule is >> not only for providing doClean function, it's a collection of >> functionalities required for module, not instance. > I see only doClean(), getVersion() and getModule(). What functionality I > missed? >
1. It must be single instance per module, therefore may be used as an unique marker for it. 2. doClean() makes it possible to set module cleanup routine if needed 3. Implementation of IPluginModule in GetPlugins detects unexpected exit/unloadLibrary call in embedded case. This uses features 1 & 2. Currently we do not need any more module-level functionality, if/when need we will add methods to interface. ------------------------------------------------------------------------------ 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