accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-1726) Typed configuration framework
Date Thu, 19 Sep 2013 16:44:51 GMT
Christopher Tubbs created ACCUMULO-1726:

             Summary: Typed configuration framework
                 Key: ACCUMULO-1726
             Project: Accumulo
          Issue Type: Improvement
            Reporter: Christopher Tubbs
            Assignee: Christopher Tubbs
             Fix For: 1.7.0

The old Property enums were great, but now that we're looking at similar things for client-side
configuration (for ACCUMULO-1009 and others), a more generic framework might be useful.


* The configuration objects themselves should be generic (org.apache.commons.configuration.Configuration,
or java.util.Properties preferred... probably the former) so as to be flexible in their construction.
* The possible keys in the configuration objects should be enumerated and come from a scope-specific
source (example: MonitorProperties, TServerProperties, ClientProperties)
* Use java generics, something like MonitorConfiguration extends TypedConfiguration<MonitorProperties>
and TypedConfiguration<T> extends Configuration and MonitorProperties extends TypedProperties.
* Sources should be combinable to support multiple scopes in a single configuration.
* Basic types should be provided and extensible, and validated by the framework.
* Values should be retrievable as any type, provided they validate as the target type.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message