Declaration of reloading strategies in the configuration definition file is on the agenda, see here:
http://issues.apache.org/bugzilla/show_bug.cgi?id=34350


About a DTD for the definition files I am not sure. We plan to make the loading of a ConfigurationFactory more flexible and to support pluggable configuration sources. It should be possible to define your own tags for configuration sources. A DTD would limit flexibility and extensibility here, unless we choose a generic form like

<config class="o.a.c.configuration.PropertiesConfiguration" fileName="..."/>

I personally would prefer tags with speaking names like <properties> or <xml>.

How to become an active member, i.e. a committer? In short it's like that: You have to earn yourself a certain degree of attention by providing contributions and activity on the list. Then a committer calls a vote and if the community decides to grant you commit rights, you are in.

Oliver

Jamie Guillemette wrote:

sounds like a decent suggestion...

any thoughts from the active members?
BTW how does one get on the active member list..

----- Original Message ----- From: "Lukas Bradley" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, April 08, 2005 3:48 PM
Subject: Re: [Configuration] CompositeConfiguration - setting FileChangedReloadingStrategy on each XMLConfiguration



[snipped Java code on manual setting of all configuration files to reload strat]


I would like to request two things. First, a DTD for the ConfigurationFactory XML file. Second, the ability to do something like this:

<configuration>
<!-- Reload usergui every -->
<properties fileName="usergui.properties"
reload="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy" />
<!-- Since reload attribute is not included, it defaults to InvariantReloadingStrategy -->
<xml fileName="gojackets.xml" />


  <xml fileName="another.xml"
reload="my.own.superkeen.EarthShatteringReloadingStrategy" />
</configuration>

So that the reloading interfaces may be defined in the XML itself.



---------------------------------------------------------------------
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]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to