Discussion:
[errai-users] [Errai Developer Blog] New comment on Dependency Injection in the Browser!.
Pete
2010-07-19 17:46:48 UTC
Permalink
Pete has left a new comment on your post "Dependency Injection in the
Browser!":

What about supporting producer methods from CDI rather than @Provider?



Posted by Pete to Errai Developer Blog at July 19, 2010 10:46 AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/errai-users/attachments/20100719/58a40773/attachment.html
Mike Brock
2010-07-19 18:44:50 UTC
Permalink
Mike Brock has left a new comment on your post "Dependency Injection in
the Browser!":

Pete, I'm actually looking into that, as a matter of fact. The use
of @Provider here is sort of a container-level configuration concept.

When the container bootstraps at compile time, it scans for all type
providers. These are like our boilerplate things, like MessageBus and
RequestDispatcher. So perhaps my post is deceiving. It probably doesn't
make sense to equate @Producer and @Provider. I will have to think
about this more...



Posted by Mike Brock to Errai Developer Blog at July 19, 2010 11:44 AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/errai-users/attachments/20100719/1c00d618/attachment.html
Mike Brock
2010-07-19 18:46:40 UTC
Permalink
Mike Brock has left a new comment on your post "Dependency Injection in
the Browser!":

Also, one of the important parts of this baseline implementation is
it's designed to be something we can build the JSR-299 stuff on top of.
So we also have this other concept called a Decorator, which is a
code-generation concept which is what a lot of our CDI stuff will be
built on-top of.



Posted by Mike Brock to Errai Developer Blog at July 19, 2010 11:46 AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/errai-users/attachments/20100719/4f948d4e/attachment.html
Pete Muir
2010-07-19 22:09:56 UTC
Permalink
Pete Muir has left a new comment on your post "Dependency Injection in
the Browser!":

Gotcha - that makes sense. BTW CDI also has a different concept called
Decorator ;-)



Posted by Pete Muir to Errai Developer Blog at July 19, 2010 3:09 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/errai-users/attachments/20100719/c860dd78/attachment.html
Heiko Braun
2010-07-20 08:19:04 UTC
Permalink
Heiko Braun has left a new comment on your post "Dependency Injection
in the Browser!":

Great work Mike.



Posted by Heiko Braun to Errai Developer Blog at July 20, 2010 1:19 AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/errai-users/attachments/20100720/50ba6957/attachment.html
Mike Brock
2010-07-20 14:28:24 UTC
Permalink
Mike Brock has left a new comment on your post "Dependency Injection in
the Browser!":

Pete,

Well, in that case, I should probably rename ours CodeDecorator. =)



Posted by Mike Brock to Errai Developer Blog at July 20, 2010 7:28 AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/errai-users/attachments/20100720/b4a50e16/attachment.html
Loading...