Just a note to say that I've made some updates to the Kernel interface that should make things easier for applications that want to embed Merlin. The changes deal with the exposure of the root ContainmentModel to the object creating the kernel making it much easier for an application to programatically add component and containers.
For example the following code fragment retieves the root containment model, add a subcontainer (the url param is a url to a block directive), then starts the kernel triggering actual component deployment.
ContainmentModel root = m_kernel.getContainmentModel(); ContainmentModel test = (ContainmentModel) root.addModel( url ); m_kernel.startup();
I'll try and get some documetation together of the overall subject of kernel embedding and examples of model manipulation later in the week. A snapshot incorporating the above changes has been posted to http://dpml.net/merlin/distributions/latest/.
Cheers, Steve.
--
Stephen J. McConnell mailto:[EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
