Cool thanks, I'll take a look.
BTW if my recent patch to provide custom annotation based injections
within Guice gets applied...
http://groups.google.com/group/google-guice/browse_thread/thread/649f1a24c62a2bae#
it'll be super simple to implement the WebBeans injections using Guice
by just binding some custom annotation injections for the various
WebBeans annotations (e.g. for the WebBeans @In and @Current
annotations).
There's a distro of Guice with this patch applied here (along with JSR
250 support for @PostConstruct / @PreDestroy / @Resource injection)
http://code.google.com/p/guiceyfruit/
e.g. here's how @Resource is implemented...
http://code.google.com/p/guiceyfruit/source/browse/trunk/guice/jsr250/src/main/java/com/google/inject/jsr250/ResourceProviderFactory.java
then you bind this to your Binder as shown on line 61
http://code.google.com/p/guiceyfruit/source/browse/trunk/guice/jsr250/src/main/java/com/google/inject/jsr250/Jsr250.java#61
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://fusesource.com/
You're rockin' this stuff. Glad to see some fast iterations in the
space again.
-bp