On Friday 23 April 2004 16:48, Dmitry Goldshtain wrote:

> 2. How can i dynamically configure the Framework (install, load, unload,
> etc.)?
> 3. I will pake components in jars and load it dynamically during deployment
>     in the Framework. How can i do this?

Dynamic loading and unloading is not yet implemented in Merlin.
The reason behind this is that there is a contract missing in the Avalon 
Framework, which defines how the container/component communicates changes to 
the model and how the 'availability' should be handled before/during/after 
transitions.

It is not likely that such contract will become available in Avalon any time 
soon, even though I have a strong interest to see it happen.

That said, it may be possible to create a Facility that has access to the 
internal model, and have it modify the set of loaded components and so on. 
However, the components that are not being unloaded, must somehow be 
instructed to drop ALL references to the component being unloaded, and such 
interaction has to be defined and handled. It is not impossible, but it takes 
some serious thinking to get it right.
Better to get the support for it, into the guts of Merlin...

Niclas
-- 
+---------//-------------------+
|   http://www.bali.ac         |
|  http://niclas.hedhman.org   |
+------//----------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to