Stephen McConnell wrote:



Fernando Padilla wrote:

Hello.

I have searched through and through on Merlin Embedding, and have been able to create startup my own kernel succesfully. ( Thank you everybody for this great piece of code :)

The next thing that I would like to accomplish is to dynamically
load/unload blocks from this running kernel. I tried to do some searches
on the mailing list, but I couldn't find it ( I might not have the right
terminology ). My current test setup is below - you see how I have to add
blocks before I startup the kernel. But below that is process that I
would like to take - to add/remove blocks to an already running kernel.


Remove selected deployment and containment models is not currently supported - more stuff needed in the api on the Block interface and ContainmentModel interface and corresponding enhancements to the DefaultContainmentModel and CompositeBlock implementation classes.


cvs head ContainmentModel and DefaultContainmentModel now includes:

void removeModel( String name );

Based on you scenario this should provide what you need.

Cheers, Steve.

--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





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



Reply via email to