[jboss-jira] [JBoss JIRA] Created: (JGRP-723) Use Java annotations to automatically set protocol properties

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Wed Mar 26 02:43:39 EDT 2008


Use Java annotations to automatically set protocol properties
-------------------------------------------------------------

                 Key: JGRP-723
                 URL: http://jira.jboss.com/jira/browse/JGRP-723
             Project: JGroups
          Issue Type: Feature Request
    Affects Versions: 2.7
            Reporter: Vladimir Blagojevic
         Assigned To: Vladimir Blagojevic
             Fix For: 2.7


Currently we use a lot of boiler plate code to read protocol properties specified in configuration file. We can eliminate this unnecessary code by using annotations and a bit of Java reflection that would assign protocol property values to matching Java fields, give warnings for deprecated properties, and so on. We should:

1) introduce @ProtocolProperty annotation 
2) annotate Protocol fields that are properties 
3) test framework
4) remove all current boilerplate code





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

        



More information about the jboss-jira mailing list