in src/main/java/com/googlesource/gerrit/plugins/gitblit/GitBlitServletModule.java [73:112]
protected void configureServlets() {
log.info("Configuring Gitblit core services");
bind(IStoredSettings.class).to(GitBlitSettings.class);
bind(XssFilter.class).to(JSoupXssFilter.class);
bind(AvatarGenerator.class).to(GravatarGenerator.class);
// bind complex providers
bind(IPublicKeyManager.class).toProvider(IPublicKeyManagerProvider.class);
bind(ITicketService.class).to(ReallyNullTicketService.class);
bind(WorkQueue.class).toProvider(WorkQueueProvider.class);
// core managers
bind(IRuntimeManager.class).to(RuntimeManager.class);
bind(IPluginManager.class).to(NullPluginManager.class);
bind(INotificationManager.class).to(NotificationManager.class);
bind(IUserManager.class).to(GerritToGitBlitUserService.class);
bind(IAuthenticationManager.class).to(GerritToGitBlitUserService.class);
bind(IRepositoryManager.class).to(RepositoryManager.class);
bind(IProjectManager.class).to(ProjectManager.class);
bind(IFederationManager.class).to(FederationManager.class);
bind(IFilestoreManager.class).to(FilestoreManager.class);
// the monolithic manager
bind(IGitblit.class).to(GitblitManager.class);
// manager for long-running daemons and services
bind(IServicesManager.class).to(ServicesManager.class);
log.info("Configuring Gitblit servlets and filters");
serve("/graph/*").with(BranchGraphServlet.class);
serve("/pages/*").with(PagesServlet.class);
serve("/feed/*").with(SyndicationServlet.class);
serve("/zip/*").with(DownloadZipServlet.class);
serve("/logo.png").with(LogoServlet.class);
serve("/static/logo.png").with(LogoServlet.class);
filter("/*").through(GerritWicketFilter.class);
filter("/pages/*").through(WrappedPagesFilter.class);
filter("/feed/*").through(WrappedSyndicationFilter.class);
}