I was thinking ModifiableConfiguration (if we choose to use an interface rather than an implementation) and ConfigurationModifier (a callback passed to ConfigurationRepository).

Hypothetical -

If we went ahead with ModifiableConfiguration ConfigurationModifier and 
Reconfigurable (extends Configurable) would we invoke the update method with a 
xpath-style ID for the node within the sub-ddocument to change?  If yes, we 
could use dom4j as an interim implmentation (it's very good).

Would a listener architecture be needed for comps that might want to listen for 
changes, or is Reconfigurable (implicit listener) enough?

Would some blocks be designated maintainers of others blocks configuration? As 
could be defined in assembly.xml and config.xml:

   <!-- assembly.xml -->

   <block class="package.classname" name="xyz-server"/>

   <block class="package2.classname2" name="xyz-settings-controller" />

   <!-- config.xml -->

   <xyz-settings>
     <a>b</b>
     <c>d</c>
   </xyz-settings>

   <xyz-settings-controller>
     <reconfigurer-of>
        <block-name>xyz-server</block-name>
     </reconfigurer-of>
   </xyz-settings-controller>

-PH



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



Reply via email to