[cdi-dev] [JBoss JIRA] (CDI-450) support Dagger 2.x style APT generated bytecode to avoid reflection or proxying for faster injection

James Strachan (JIRA) issues at jboss.org
Wed Jul 30 11:56:29 EDT 2014


James Strachan created CDI-450:
----------------------------------

             Summary: support Dagger 2.x style APT generated bytecode to avoid reflection or proxying for faster injection
                 Key: CDI-450
                 URL: https://issues.jboss.org/browse/CDI-450
             Project: CDI Specification Issues
          Issue Type: Feature Request
            Reporter: James Strachan


this is particularly useful if you wanted to do per-request/per-message/per-operation injection.

The Dagger approach to DI lets you code generate the DI wiring code at compile time avoiding any reflection etc. The primary use case driving Dagger is performance on Android but I can see that being generically useful on all Java platforms.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the cdi-dev mailing list