Comment by icyerasor:
If you want to use "Google Cloud Endpoints" AND Guice, it seems like you
have to extend a
GuiceSystemServiceServletModule
and register the Endpoints like this:
protected void configureServlets() {
Set<Class<?>> serviceClasses = new HashSet<Class<?>>();
serviceClasses.add(Endpoint1.class);
serviceClasses.add(Endpoint2.class);
this.serveGuiceSystemServiceServlet("/_ah/spi/*", serviceClasses);
}
Took me like forever to figure that out, why doesn't it say that anywhere!?
For more information:
http://code.google.com/p/google-guice/wiki/GoogleAppEngine
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-guice-dev+unsubscr...@googlegroups.com.
To post to this group, send email to google-guice-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/groups/opt_out.