Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-218

ServiceLoader should support Default implementations

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • 1.0.0.Alpha5
    • 1.0.0.Alpha2
    • Runtime Enricher SPI
    • None

    Description

      The ServiceLoader.onlyOne fails if no implementation found. In some cases Arquillian will provide a default implementation but it should still be overridable from the outside.

      Add onlyOne(Interface spi, Class defaultImpl)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: