While implementing the ReloadableConfiguration i had to add a clear() method to the Configuration interface. That made me think that a Configuration is basically a Map with convenient accessor methods and casting the values to the desired type. So what about extending Map in the Configuration interface ? That would make sense since Configuration is defined as an extended Properties, and Properties implements Map.

Emmanuel Bourg

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to