> -----Original Message----- > From: David Leangen [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 25, 2004 18:13 > To: [EMAIL PROTECTED] > Subject: Passing on configuration to subcomponents > Importance: High > > > As always, thanks so much for your help!! > > > Ok, now I'm on to configuration of components. > > I am able to configure a component from an xconfig file just like in the > tutorial. Very nice! > > > What I would like to do is figure out how to generate and pass on > configuration dynamically from a component to a sub-component or service. > > > For example, component Foo is created using a config file. Within Foo, I > want to dynamically generate the configuration that should be used for a > Bar > service that it uses. > > Could you give me a hint as to how I should go about this? >
It's called a 'facility'. Take a look at the dynamics tutorial - it has an example of a facility that dynamically creates a configuration and redeploys a component after changing the configuration assigned to the component model. Welcome to the inside! Cheers, Steve. > Thanks! > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]