11.01.2016 17:49, Adriano dos Santos Fernandes пишет:
> Hi!
>
> In this function, seems one could not known what database needs the
> plugin. That's bad.
>
> In current engine implementation, multiple attachments has multiple
> metadata caches and plugins instances.
>
> But Java External Engine plugin loads classes stored in the database,
> and they should be loaded in a classloader per database, not per
> attachment, which would be heavy.
>
> The most direct way to do that would be to return a single
> IExternalEngine for these attachments sharing the same database (in the
> same process).
>
> How to do that?

What do you think about adding to PluginConfig method, returning 
database information pointer?
(Do not say here 'DbName' - what else info is needed to be discussed)


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to