[jboss-jira] [JBoss JIRA] (JBJCA-979) @ConfigProperty annotation type should be equal both property field type and type of setter method parameter

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Fri Apr 12 11:40:55 EDT 2013


     [ https://issues.jboss.org/browse/JBJCA-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper Pedersen resolved JBJCA-979.
-----------------------------------

    Resolution: Done

    
> @ConfigProperty annotation type should be equal both property field type and type of setter method parameter
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: JBJCA-979
>                 URL: https://issues.jboss.org/browse/JBJCA-979
>             Project: IronJacamar
>          Issue Type: Bug
>          Components: Common, Validator
>    Affects Versions: 1.0.15.Final, 1.1.0.Beta3
>            Reporter: Vladimir Rastseluev
>            Assignee: Jesper Pedersen
>             Fix For: 1.0.17.Final, 1.1.0.Beta5
>
>
> Due to JCA 1.6 spec. page 18-11, 
> It is an error if the value of the type annotation element specified by the developer in the ConfigProperty annotation, and the type of the field are not equal.
>  It is an error if the type specified by the developer in the ConfigProperty annotation and the ype of the setter method’s parameter are not equal.

--
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: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list