avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter royal <pro...@apache.org>
Subject Re: [RT] Auto-configuring components
Date Fri, 23 Jan 2004 19:53:15 GMT
On Jan 23, 2004, at 11:38 AM, Leo Sutic wrote:
> The container would then, before calling configure(), set all
> ConfigurableFields
> in the class. Then configure() would be called, allowing the component
> to
> do whatever special configuration processing required.

You should see what Jason van Zyl did with Plexus ... he treats XML 
configuration data as a serialized object and uses XStream 
(http://xstream.codehaus.org) to de-serialize the configuration 
directly onto the component instance. pretty neat!

To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org

View raw message