Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3304

JCA_10049 serviceNamesMismatchImpl.java invalid annotation

    XMLWordPrintableJSON

Details

    Description

      There's an invalid annotation causing a compile error:
      JCA_10049\src\main\java\org\oasisopen\sca\test\serviceNamesMismatchImpl.java
      when the attribute is using multiple parameters you need to specify the attribute name:
      -@Service(

      {Service1.class, Service1Superset.class}, names={"Service1", "AnotherService", "YetAnotherService"})
      +@Service(value={Service1.class, Service1Superset.class}

      , names=

      {"Service1", "AnotherService", "YetAnotherService"}

      )

      Attachments

        Activity

          People

            Unassigned Unassigned
            aelder ant elder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: