Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5180

Support for Java8 Repeatable Properties in DM annotations.

    XMLWordPrintableJSON

Details

    Description

      Currently, component properties can be declared in DM annotations using a "properties" attribute which accepts an array of @Property annotations.

      But since we are now using java8 for the R7 version, if would be nicer to support repeatable @Property annotations.

      For example:

      @Component(provides=MyService.class)
      @Property(name="v1", value="s")
      @Property(name="v2", value={"s1", "s2"})
      @Property(name="v3", values={"s1", "s2"})
      public class MyServiceImpl implements MyService, Runnable {
      ...
      }
      

      Attachments

        Activity

          People

            pderop Pierre De Rop
            pderop Pierre De Rop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: