RE: Passing on configuration to subcomponents

"Stephen McConnell" <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <000201c47263$06945650$1601a8c0@devbox>

> -----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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.