tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAP5-1960) @javax.annotations.Inject on a field, without @Named, does not inject service resources
Date Wed, 20 Jun 2012 23:20:42 GMT
Howard M. Lewis Ship created TAP5-1960:
------------------------------------------

             Summary: @javax.annotations.Inject on a field, without @Named, does not inject
service resources
                 Key: TAP5-1960
                 URL: https://issues.apache.org/jira/browse/TAP5-1960
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-ioc
    Affects Versions: 5.3, 5.4
            Reporter: Howard M. Lewis Ship


Noticed this while rewriting tests for Spock.

@javax.annotations.Inject and org.apache.tapestry5.annotations.Inject should work the same
where-ever possible. 

When @Named is not present, the logic was not asking InjectionResources for the value, as
it would with Tapestry's @Inject.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message