RE: Classpath error when embedding merlin into a commandline application
"Stephen McConnell" <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.user |
|---|---|
| Message-ID | <001d01c4971d$f09ea0f0$1601a8c0@gloria> |
> -----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.