[arquillian-issues] [JBoss JIRA] Created: (ARQ-528) @Inject for ServiceLoader is not triggered for fallback implementation

Karel Piwko (JIRA) jira-events at lists.jboss.org
Tue Jul 26 12:49:23 EDT 2011


@Inject for ServiceLoader is not triggered for fallback implementation
----------------------------------------------------------------------

                 Key: ARQ-528
                 URL: https://issues.jboss.org/browse/ARQ-528
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Base Implementation
    Affects Versions: 1.0.0.CR2
            Reporter: Karel Piwko


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

{code}
service.onlyOne(TheClass.class, TheClassDefault.class)
{code}

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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list