[jboss-jira] [JBoss JIRA] Commented: (JGRP-723) Use Java annotations to automatically set protocol properties
Vladimir Blagojevic (JIRA)
jira-events at lists.jboss.org
Thu May 8 10:15:59 EDT 2008
[ http://jira.jboss.com/jira/browse/JGRP-723?page=comments#action_12412160 ]
Vladimir Blagojevic commented on JGRP-723:
------------------------------------------
See new classes/interfaces and corresponding javadoc for more details.
Commit set:
Revision Changes Path
1.2 +13 -0 JGroups/src/org/jgroups/conf/PropertyConverter.java
1.2 +17 -3 JGroups/src/org/jgroups/conf/PropertyConverters.java
1.34 +166 -44 JGroups/src/org/jgroups/stack/Configurator.java
1.2 +26 -4 JGroups/src/org/jgroups/annotations/Property.java
> 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