commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <>
Subject [CONFIGURATION{ Re: Extending commons-configuration XML configuration definition issue
Date Thu, 21 Jan 2010 14:16:47 GMT
I'm having trouble figuring out what you are trying to do. Is this the configuration file you
are feeding to DefaultConfigurationBuilder or something else? The syntax below doesn't seem
to match what DefaultConfigurationBuilder would expect and I'm not sure why you aren't just
using that since as far as I can tell it supports what you are trying to do without you writing
any custom code.


On Jan 21, 2010, at 12:57 AM, Maxim Ulanovskiy wrote:

> Hello,
> I need to extend XML configuration definition to have something like:
> <?xml version="1.0" encoding="UTF-8"?>
> <configuration>
>   <additional>
>       <remote server="http://configserver/config/" refreshDelay="5000">
>           <configs>
>               <conf>testCfg1.cfg</conf>
>               <conf>testCfg2.xml</conf>
>           </configs>
>       </remote>
>   </additional>
> </configuration>
> To parse "remote" element I've defined custom ConfigurationProvider, but it
> fails because of there are a few <conf> tags and the framework holds them as
> NestedBeanDeclarations that should be unique. How can I resolve this issue?
> --
> Best Regards,
> Maxim

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message