commit | author | age
|
325396
|
1 |
/* |
JM |
2 |
* Copyright 2013 gitblit.com. |
|
3 |
* |
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 |
* you may not use this file except in compliance with the License. |
|
6 |
* You may obtain a copy of the License at |
|
7 |
* |
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
9 |
* |
|
10 |
* Unless required by applicable law or agreed to in writing, software |
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS, |
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 |
* See the License for the specific language governing permissions and |
|
14 |
* limitations under the License. |
|
15 |
*/ |
|
16 |
package com.gitblit; |
|
17 |
|
23e08c
|
18 |
import com.gitblit.manager.GitblitManager; |
04a985
|
19 |
import com.gitblit.manager.IAuthenticationManager; |
325396
|
20 |
import com.gitblit.manager.IFederationManager; |
bd0e83
|
21 |
import com.gitblit.manager.IFilestoreManager; |
325396
|
22 |
import com.gitblit.manager.INotificationManager; |
84f406
|
23 |
import com.gitblit.manager.IPluginManager; |
325396
|
24 |
import com.gitblit.manager.IProjectManager; |
JM |
25 |
import com.gitblit.manager.IRepositoryManager; |
|
26 |
import com.gitblit.manager.IRuntimeManager; |
|
27 |
import com.gitblit.manager.IUserManager; |
5e3521
|
28 |
import com.gitblit.tickets.ITicketService; |
245836
|
29 |
import com.gitblit.transport.ssh.IPublicKeyManager; |
f9980e
|
30 |
import com.google.inject.Inject; |
241f57
|
31 |
import com.google.inject.Provider; |
f9980e
|
32 |
import com.google.inject.Singleton; |
325396
|
33 |
|
JM |
34 |
/** |
c42032
|
35 |
* GitBlit is the aggregate manager for the Gitblit webapp. The parent class provides all |
JM |
36 |
* functionality. This class exists to not break existing Groovy push hooks. |
325396
|
37 |
* |
JM |
38 |
* @author James Moger |
|
39 |
* |
|
40 |
*/ |
f9980e
|
41 |
@Singleton |
c42032
|
42 |
@Deprecated |
23e08c
|
43 |
public class GitBlit extends GitblitManager { |
269c50
|
44 |
|
1b34b0
|
45 |
@Inject |
8d8809
|
46 |
public GitBlit( |
241f57
|
47 |
Provider<IPublicKeyManager> publicKeyManagerProvider, |
c42032
|
48 |
Provider<ITicketService> ticketServiceProvider, |
325396
|
49 |
IRuntimeManager runtimeManager, |
41a7e4
|
50 |
IPluginManager pluginManager, |
325396
|
51 |
INotificationManager notificationManager, |
JM |
52 |
IUserManager userManager, |
04a985
|
53 |
IAuthenticationManager authenticationManager, |
325396
|
54 |
IRepositoryManager repositoryManager, |
JM |
55 |
IProjectManager projectManager, |
bd0e83
|
56 |
IFederationManager federationManager, |
PM |
57 |
IFilestoreManager filestoreManager) { |
325396
|
58 |
|
241f57
|
59 |
super( |
JM |
60 |
publicKeyManagerProvider, |
c42032
|
61 |
ticketServiceProvider, |
241f57
|
62 |
runtimeManager, |
41a7e4
|
63 |
pluginManager, |
23e08c
|
64 |
notificationManager, |
JM |
65 |
userManager, |
|
66 |
authenticationManager, |
|
67 |
repositoryManager, |
|
68 |
projectManager, |
bd0e83
|
69 |
federationManager, |
PM |
70 |
filestoreManager); |
5e3521
|
71 |
} |
325396
|
72 |
} |