GuiceComponentProvider should not test for explicit bindings
------------------------------------------------------------

                 Key: MAGNOLIA-4370
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4370
             Project: Magnolia
          Issue Type: Bug
      Security Level: Public
          Components: core
    Affects Versions: 4.5.2, 4.5.1, 4.5
            Reporter: Tobias Mattsson


GuiceComponentProvider tests for explicit bindings in both getComponent() and 
getProvider(). Since we don't have Guice set to require explicit bindings and 
since we're using just-in-time creation of objects it makes no sense to do this 
check.

For instance, a class A annotated with @Singleton can be injected into another 
class B that requires it. But it's not possible to ask for the instance of 
class A directly on GuiceComponentProvider.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to