| | |
| | | IGitblitManager.class, |
| | | IFederationManager.class, |
| | | |
| | | // the monolithic manager |
| | | Gitblit.class, |
| | | |
| | | // filters & servlets |
| | | GitServlet.class, |
| | | GitFilter.class, |
| | |
| | | return gitblit; |
| | | } |
| | | |
| | | @Provides @Singleton Gitblit provideGitblit( |
| | | IRuntimeManager runtimeManager, |
| | | INotificationManager notificationManager, |
| | | IUserManager userManager, |
| | | ISessionManager sessionManager, |
| | | IRepositoryManager repositoryManager, |
| | | IProjectManager projectManager, |
| | | IGitblitManager gitblitManager, |
| | | IFederationManager federationManager) { |
| | | |
| | | return new Gitblit( |
| | | runtimeManager, |
| | | notificationManager, |
| | | userManager, |
| | | sessionManager, |
| | | repositoryManager, |
| | | projectManager, |
| | | federationManager, |
| | | gitblitManager); |
| | | } |
| | | |
| | | @Provides @Singleton WebApplication provideWebApplication( |
| | | IRuntimeManager runtimeManager, |
| | | INotificationManager notificationManager, |