[arquillian-issues] [JBoss JIRA] Closed: (ARQ-169) XmlConfiguration should use setter methods to assign configuration properties
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Tue Jul 27 20:08:49 EDT 2010
[ https://jira.jboss.org/browse/ARQ-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aslak Knutsen closed ARQ-169.
-----------------------------
1.0.0.Alpha3 has been released. Closing all issues.
> XmlConfiguration should use setter methods to assign configuration properties
> ------------------------------------------------------------------------------
>
> Key: ARQ-169
> URL: https://jira.jboss.org/browse/ARQ-169
> Project: Arquillian
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 1.0.0.Alpha2
> Reporter: Dan Allen
> Assignee: Dan Allen
> Fix For: 1.0.0.Alpha3
>
> Attachments: ARQ-169-patch.txt
>
>
> Currently, XmlConfiguration is using the method Class#getDeclaredField(String) to find the field that matches the configuration property. For one, this breaks if the field is inherited from a base class. But rather than scanning through the inheritance hierarchy, XmlConfiguration should be looking for a public setter field that corresponds to the property name. For example:
> httpPort --> setHttpPort()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list