> -----Original Message-----
> From: Rajamani Saravanan [mailto:[EMAIL PROTECTED]
> It will be really simple if I can do this without embedding Merlin
> into my application and instead asking it to simply launch all blocks
> found in a folder - BUT AFTER login is through...

No problem - to do this what you want is a "facility".  Instead of
embedding Merlin (and worrying about all of that stuff) just create a
component that request the containing component model via context. For
example - you facility would be the only component within the initial
block but with a reference to the enclosing containment model you can
dynamically populate your container with anything you want based on
whatever logic you want.

Simply declare the following context entry dependency:

    * @avalon.entry key="urn:composition:containment.model" 
    *    type="org.apache.avalon.composition.model.ContainmentModel"

With a reference to the containment model - you're in business.

Cheers, Steve.



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

Reply via email to