Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] configuration component requirements

So I have not looked at code but is this also for runtime config or just initialization configuration ?

Anthony Nadalin | Work 512.838.0085 | Cell 512.289.4122
Inactive hide details for Greg Byrd <gbyrd@xxxxxxxx>Greg Byrd <gbyrd@xxxxxxxx>


          Greg Byrd <gbyrd@xxxxxxxx>
          Sent by: higgins-dev-bounces@xxxxxxxxxxx

          05/16/2007 10:09 AM

          Please respond to
          "Higgins \(Trust Framework\) Project developer discussions" <higgins-dev@xxxxxxxxxxx>

To

"Higgins (Trust Framework) Project developer discussions" <higgins-dev@xxxxxxxxxxx>

cc


Subject

[higgins-dev] configuration component requirements


I'm trying to nail down requirements for the Configuration component. I've looked at Mike's configuration code for the STS, and I think I understand it fairly well. I'm not quite sure what should be carried over into the cross-cutting component, and what should be generalized.

What I'm thinking so far (and most of this comes verbatim from Mike's code):

(1) An ISetting interface that encapsulates a name, a type, and a value (all strings) for a configuration setting.

(2) An IConfiguration interface, so that objects of this type can be passed in to component-specific configuration methods. As it is now, IConfiguration only has get methods -- to get a single ISetting, or the Map (where ISettings are indexed by name), or an iterator over the Map.

(3) Should we then provide a set of implementations that convert data from various forms to the map described above? For example, Mike's ConfigurationHandler and the other various SettingHandler types allow an XML file/stream to be parsed. Should this be in the Configuration component, or is it specific to STS? Should we create other components, such as a property file reader, or should this be done on an as-needed basis by different component owners?


...Greg

_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev

GIF image

GIF image

GIF image


Back to the top