2009/4/1 Bob Lee <[email protected]>: > Thanks for the feedback, James. Sounds like I need to update the injectable > type listener docs to make it clear that you need to get your providers, > etc., out of the Encounter and pass those to the injection listener. > > Like Jesse said, you actually have all of the information up front and can > do the work once per type instead of once per instance (just like we do > elsewhere in Guice, hence its good performance). This is what I was talking > about when I said that the injectable type listener should create a list of > of method/provider pairs and pass it to the injection listener. At run time, > the injection listener will just iterate over that list, get an object from > the provider and pass it to the method. > > On the bright side, my hope is that this will be the world's fastest EJB > impl, at least after we performance tune Guice to get back to version one > levels.
Yeah! :) I was trying to do everything as late as possible as I was worried about ordering and dependencies & was passing in the encounter rather than the provider. Nice and elegant though, now i've seen the light :) -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
