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

Details

    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: