Mark any non-final field with @Inject and have fun. On Saturday, December 1, 2012 6:19:13 PM UTC+2, gitted wrote: > > In spring I can do: > > @Autowired > private SomeService someService; > > > And it will get autowired, does guice have something similiar, I have > only seen examples of constructor injection. >
-- You received this message because you are subscribed to the Google Groups "google-guice" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-guice/-/7TMwGxM0OmsJ. 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.
