Hi there, Merlin does support two types of contextualization:
- Standard entries. - Custom contexts (safely casted or not). Given I have an application as described in ... where I want assemble a context object, basically a map of keyed objects as described by Stephen (http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] &msgId=624575). The context object has to have an entry for the resource manager and the main frame, both components of other containers. I would like to add a these two to the context *before* it is passed to subsequent other Avalon components. How is this achieved? One way could be to do it in the contextualize method itself. The application is Contextualizable and adds the two objects to the context. Here I would have to guarantee that the applications' context method is called as the really first one of all components. However, contextualize() is called before service(). And just service() does deliver access to the other components which I need to set-up the context (resource manager and main frame). I've the impression I am on the wrong way. Another approach could be that I do not have to code additions/completions of the context object, but to configure it somehow. Maybe it's even not necessary to have a context object as described first above, as I could configure the resource manager and main frame as singletons, and get access to these two during the service method. I've the impression, that this could fit. How do you achieve this usually? Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
