summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/servlet/GitblitContext.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-07-02 16:45:37 -0400
committerJames Moger <james.moger@gitblit.com>2014-07-03 17:00:41 -0400
commitc42032df0911f51c81a91a961eff2066b380607c (patch)
tree6be77276875bf07dc535491fd72e92effcdd9ef3 /src/main/java/com/gitblit/servlet/GitblitContext.java
parent241f57365649ffbbcc1923a1712ab86f6a443bc6 (diff)
downloadgitblit-c42032df0911f51c81a91a961eff2066b380607c.tar.gz
gitblit-c42032df0911f51c81a91a961eff2066b380607c.zip
Extract ticket service into an injectable object with a custom provider
Diffstat (limited to 'src/main/java/com/gitblit/servlet/GitblitContext.java')
-rw-r--r--src/main/java/com/gitblit/servlet/GitblitContext.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/servlet/GitblitContext.java b/src/main/java/com/gitblit/servlet/GitblitContext.java
index 44a857ca..115af656 100644
--- a/src/main/java/com/gitblit/servlet/GitblitContext.java
+++ b/src/main/java/com/gitblit/servlet/GitblitContext.java
@@ -53,6 +53,7 @@ import com.gitblit.manager.IRepositoryManager;
import com.gitblit.manager.IRuntimeManager;
import com.gitblit.manager.IServicesManager;
import com.gitblit.manager.IUserManager;
+import com.gitblit.tickets.ITicketService;
import com.gitblit.transport.ssh.IPublicKeyManager;
import com.gitblit.utils.ContainerUtils;
import com.gitblit.utils.StringUtils;
@@ -200,6 +201,7 @@ public class GitblitContext extends GuiceServletContextListener {
startManager(injector, IRepositoryManager.class);
startManager(injector, IProjectManager.class);
startManager(injector, IFederationManager.class);
+ startManager(injector, ITicketService.class);
startManager(injector, IGitblit.class);
startManager(injector, IServicesManager.class);