[infinispan-issues] [JBoss JIRA] Created: (ISPN-97) Improve configuration processing and maintenance

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Mon Jun 8 03:38:56 EDT 2009


Improve configuration processing and maintenance
------------------------------------------------

                 Key: ISPN-97
                 URL: https://jira.jboss.org/jira/browse/ISPN-97
             Project: Infinispan
          Issue Type: Task
    Affects Versions: 4.0.0.ALPHA4
            Reporter: Vladimir Blagojevic
            Assignee: Vladimir Blagojevic
             Fix For: 4.0.0.BETA1


In order to improve configuration processing and maintenance we have to use Java annotations. We could keep all current configuration beans, that is all subclasses of AbstractConfigurationBean but introduce annotation(s) for those beans that would:

- annotate each bean setter with a reference to the XML element in question (full path to it - e.g., infinispan/namedCache/cluster/sync)
- provide default configuration value
- describe human readable documentation for each configuration option in plain english
- references to classes to process certain complex elements

and others as the need arise.


Furthermore we could also:

- remove current hand maintained schema
- create schema by automated tools given metadata in annotations
- create all human readable documentation from these annotations for manuals. wiki etc etc
- read all configuration elements from xml configuration files using metadata in annotations thus avoiding "by hand" reading we have now 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the infinispan-issues mailing list