Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sisu-users] Contextual Injection - InjectionPoint

Hi,

the CDI specification provides an API that allows binding producers to be aware of the injection point and to make contextual injections http://docs.oracle.com/javaee/6/api/javax/enterprise/inject/spi/InjectionPoint.html

My understanding is that Guice does not offer anything like that out-of-the-box:
https://code.google.com/p/google-guice/issues/detail?id=27
https://code.google.com/p/google-guice/issues/detail?id=49

However, looks like it is possible to support contextual injection using the Guice SPI, and in fact there exists an open source project that provides a Guice extension to support contextual injections:
http://tavianator.com/2014/04/announcing-sangria/#more-1038
https://github.com/tavianator/sangria

Given that Sisu already supports some javax.enterprise.inject.* features, what is the Sisu authors' opinion about contextual injection? Will Sisu support it?

GianMaria.


Back to the top