users@jersey.java.net

Re: [Jersey] Re: automatic resource registration and guice

From: Christopher Piggott <cpiggott_at_gmail.com>
Date: Fri, 4 Jun 2010 11:35:37 -0400

>        ServletAdapter sa = new ServletAdapter();
>        sa.addServletListener(ProtobufServletConfig.class);
>        sa.addFilter(new GuiceFilter(), "guiceFilter", null);

com.sun.grizzly.http.servlet.ServletAdapter doesn't seem to have an
.addServletListener() method that takes a class, though ... at least
not (apparently) in grizzly 1.9.18-i. I tried feeing it a string, but
that blew up with some jndi errors - maybe it's trying to do a lookup.