on BlackBeltFactory.com!i have one short question: is thi s the current (gwt 2.3, guice 3.0) way to integrate guice and gwt on server side? (don't know why but i have bad feeling about overriding processCall)?!
If not is there a current tutorial how to integrate both?
thx in advance
--
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/-/4oKrvRpW9X0J.
To post to this group, send email to google...@googlegroups.com.
To unsubscribe from this group, send email to google-guice...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
--
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/-/SysVOuPg8JYJ.
--
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/-/orv5N_ikTo4J.
Instead of using the injector, you can use a provider. Guice will
inject a provider of the class you need, if you ask it to. For
instance in the following code if your servlet is bound with Guice, a
provider of your GetSomeClass will be injected for you (and you won't
need to write the provider either).
@Singleton
public class SomeServiceImpl extends RemoteServiceServlet implements
SomeService {
private Provider<GetSomeClass> getSomeClassProvider;
@Inject
public SomeServiceImpl(Provider<GetSomeClass> getSomeClassProvider) {
this.getSomeClassProvider= getSomeClassProvider;
}
public ArrayList<> getSome(){
return getSomeClassProvider.get().getSome();
}
> --
> 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/-/vXyhIZZ5OWMJ.
> --
> 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/-/C0tASrhbBtEJ.