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

It should be an exception thrown, if administered object class, that implements more than one interface, isn't explicitly marked with adminObjectInterfaces annotation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • 1.0.15.Final, 1.1.0.Beta3
    • Validator
    • None
    • Hide

      See deployerShouldThrowDeployExceptionWithAOImplementing2InterfacesWoAnno() test in /ironjacamar-validator/src/test/java/org/jboss/jca/validator/rules/anno/AnnoTestCase.java

      Show
      See deployerShouldThrowDeployExceptionWithAOImplementing2InterfacesWoAnno() test in /ironjacamar-validator/src/test/java/org/jboss/jca/validator/rules/anno/AnnoTestCase.java

    Description

      Due to JCA 1.6 spec. page 18-16,
      If the JavaBean class implements more than one Java interface, the resource
      adapter provider must explicitly state the interfaces supported by the
      administered object either through the adminObjectInterfaces annotation
      element or through the deployment descriptor. It is an error if the resource
      adapter provider does not use either of the two schemes to specify the Java types
      of the interfaces supported by the administered object.

      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: