initializing the Injector

0 views
Skip to first unread message

J4Java

unread,
Jul 23, 2008, 9:44:41 PM7/23/08
to google-guice
What's the best way to initialize the Injector? Especially in a large
scale app with 100s of beans. Also to get hold of a fully initialized
bean at the top of a particular dependency chain you either have to
call getInstance on the Injector or instantiate the bean first and get
its dependencies set by calling injectMembers on the Injector. Now to
do this for every bean that you need to get hold of is kind of
tedious. Is there another way to accomplish this?
Reply all
Reply to author
Forward
0 new messages