summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/dagger
Commit message (Collapse)AuthorAgeFilesLines
* Replace Dagger with Guice 4.0 beta and update Guava to 16.0.1James Moger2014-07-034-365/+0
|
* Move the DaggerModule to the Dagger packageJames Moger2014-07-031-0/+189
|
* Embrace @Inject for Managers, Servlets, and FiltersJames Moger2014-07-031-45/+0
|
* Return of Servlet3 servlet and filter loadingJames Moger2014-07-031-2/+20
| | | | This is a quick return of the servlet3-style code which was reverted mid-December 2013. It is not completely tested, but a casual review was done and it's looks good. The next steps should be to restore `@Inject` annotations, simplify *DaggerModule* boilerplate, and run this on a JEE container with CDI - like JBoss AS 7.
* Add http request filter extension pointDavid Ostrovsky2014-05-051-2/+2
| | | | | To allow for integration of 3rd party server monitoring solutions, Gitblit needs to expose an extension point for collecting http data.
* Remove Dagger injector from the servlet context instead of nulling itJames Moger2014-03-051-1/+1
|
* Rollback to Servlet 2.5James Moger2013-12-114-20/+143
| | | | | | | | | | | | | | | | | 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-54/+0
| | | | Change-Id: I2e4a8e7424e7c62d1e89ca62a91423fdf3e36ac8
* Moved servlets and services to separate packagesJames Moger2013-11-291-1/+1
| | | | Change-Id: I5f0f50f4ae7d332e9f724a2e6f074fa71f646035
* Use Dagger to inject managers into all filters and servletsJames Moger2013-11-292-0/+134
Change-Id: I9bb2cc0cbfac9841b13bed15a474fefb24355cd4