Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-979

@ConfigProperty annotation type should be equal both property field type and type of setter method parameter

XMLWordPrintable

    • Hide

      See deployerShouldThrowDeployExceptionWithTypeMismatch(), deployerShouldThrowDeployExceptionWithSetterTypeMismatch() tests in
      /ironjacamar-validator/src/test/java/org/jboss/jca/validator/rules/anno/AnnoTestCase.java

      Show
      See deployerShouldThrowDeployExceptionWithTypeMismatch(), deployerShouldThrowDeployExceptionWithSetterTypeMismatch() tests in /ironjacamar-validator/src/test/java/org/jboss/jca/validator/rules/anno/AnnoTestCase.java

      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.

            jpederse@redhat.com Jesper Pedersen
            vrastsel_jira Vladimir Rastseluev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: