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

@Inject for ServiceLoader is not triggered for fallback implementation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.CR3
    • 1.0.0.CR2
    • Base Implementation
    • None

    Description

      The serviceLoader injects values in all created classes. However, for the following:

      service.onlyOne(TheClass.class, TheClassDefault.class)
      

      if no implementation of TheClass is found, it instantiates TheClassDefault. This instance will not get its field injected.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: