summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/servlet/BranchGraphServlet.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'ticket/169' into developJames Moger2014-09-081-1/+32
|\
| * Improve bad request handling in branch graph, zip, & syndication servletsJames Moger2014-09-081-1/+32
| |
* | Use Guice annotations, not javax.inject annotationsJames Moger2014-07-031-2/+2
| |
* | Embrace @Inject for Managers, Servlets, and FiltersJames Moger2014-07-031-12/+13
|/
* Rollback to Servlet 2.5James Moger2013-12-111-13/+15
| | | | | | | | | | | | | | | | | Combining Dagger and Servlet 3 works really well on stock Tomcat and Jetty but it is a troublesome combination on JEE containers with their own ideas on how to instantiate classes. JBoss AS 7 has been particularly nasty and it is just simpler to scaleback and stay with Servlet 2.5 than it is to fight all permuations of containers. Instead of using constructor DI, the servlets and filters each have an inject(ObjectGaph) method which is automatically called during initialization. Each servlet or filter is responsible for retrieving the required dependency from the graph. The Dagger object graph is created in the context listener and stuffed into the context as an attribute. Change-Id: Ib5714584fe73e2a6b9c6fda12af080a43356cbda
* Remove @Inject references because they confuse JEE containersJames Moger2013-12-101-5/+0
| | | | Change-Id: I2e4a8e7424e7c62d1e89ca62a91423fdf3e36ac8
* Moved servlets and services to separate packagesJames Moger2013-11-291-0/+409
Change-Id: I5f0f50f4ae7d332e9f724a2e6f074fa71f646035