Search in sources :

Example 1 with FilterBootstrap

use of org.jboss.resteasy.plugins.server.servlet.FilterBootstrap in project stdlib by petergeneric.

the class ResteasyDispatcher method init.

@Override
public void init(FilterConfig config) throws ServletException {
    GuiceBuilder builder = new GuiceBuilder().withRole(new WebappGuiceRole(config));
    this.registry = new GuiceRegistry(builder);
    dispatcher = new GuicedResteasy(registry, config, new FilterBootstrap(config), false);
    startInitialise();
}
Also used : WebappGuiceRole(com.peterphi.std.guice.web.rest.setup.WebappGuiceRole) FilterBootstrap(org.jboss.resteasy.plugins.server.servlet.FilterBootstrap) GuiceBuilder(com.peterphi.std.guice.apploader.impl.GuiceBuilder) GuiceRegistry(com.peterphi.std.guice.apploader.impl.GuiceRegistry)

Aggregations

GuiceBuilder (com.peterphi.std.guice.apploader.impl.GuiceBuilder)1 GuiceRegistry (com.peterphi.std.guice.apploader.impl.GuiceRegistry)1 WebappGuiceRole (com.peterphi.std.guice.web.rest.setup.WebappGuiceRole)1 FilterBootstrap (org.jboss.resteasy.plugins.server.servlet.FilterBootstrap)1