| | |
| | | public void setUserService(IUserService userService) { |
| | | logger.info("Setting up user service " + userService.toString()); |
| | | this.userService = userService; |
| | | this.userService.setup(settings); |
| | | this.userService.setup(getManager(IRuntimeManager.class)); |
| | | } |
| | | |
| | | @Override |
| | |
| | | String bindInterface = settings.getString(Keys.git.daemonBindInterface, "localhost"); |
| | | if (port > 0) { |
| | | try { |
| | | gitDaemon = new GitDaemon(this, this, this, this); |
| | | // HACK temporary pending manager separation and injection |
| | | Gitblit gitblit = new Gitblit(this, this, this, this, this, this, this, this); |
| | | gitDaemon = new GitDaemon(gitblit); |
| | | gitDaemon.start(); |
| | | } catch (IOException e) { |
| | | gitDaemon = null; |