summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/DaggerModule.java
Commit message (Collapse)AuthorAgeFilesLines
* Rollback to Servlet 2.5James Moger2013-12-111-177/+2
| | | | | | | | | | | | | | | | | 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-3/+143
| | | | Change-Id: I2e4a8e7424e7c62d1e89ca62a91423fdf3e36ac8
* Refactor managers and authentication for federationJames Moger2013-11-291-2/+0
| | | | Change-Id: I5ff18b2768095fb14e7fbece2e756115829abbde
* Flattened IGitblitManager, GitblitManager, and GitBlit classesJames Moger2013-11-291-29/+7
| | | | Change-Id: Id6deb27306e0034898673bf5d5d76a4ed012ced6
* Refactor user services and separate authentication (issue-281)James Moger2013-11-291-9/+9
| | | | Change-Id: I336e005e02623fc5e11a4f8b4408bea5465a43fd
* Renamed Gitblit to GitBlit to not break existing Groovy hooksJames Moger2013-11-291-4/+4
| | | | Change-Id: Id5286ed1b9d7e92644cacf857096e6dd273c8f05
* Moved servlets and services to separate packagesJames Moger2013-11-291-0/+15
| | | | Change-Id: I5f0f50f4ae7d332e9f724a2e6f074fa71f646035
* Extract Federation, Gitblit and Services manager from GitBlit singletonJames Moger2013-11-291-13/+32
| | | | Change-Id: I2b2f361a868c8eedf4b6df5939e7dfac2d5f92a9
* Extract ProjectManager from the GitBlit singletonJames Moger2013-11-291-2/+10
| | | | Change-Id: I93493a473e3d6ea9b2523c1913d6dc323642344d
* Extract RepositoryManager from the GitBlit singletonJames Moger2013-11-291-2/+8
| | | | Change-Id: I265cfaf25e4093ffa5f53f70d8eb1c20d731b7b3
* Extract SessionManager from GitBlit singletonJames Moger2013-11-291-2/+8
| | | | Change-Id: I85c9dfc1413f858dc28d731a0bf653828626e127
* Extract UserManager from GitBlit singletonJames Moger2013-11-291-2/+3
| | | | Change-Id: I4885255ed63aa6c4e000c3e5501675440dca3958
* Extract NotificationManager from GitBlit singletonJames Moger2013-11-291-2/+3
| | | | Change-Id: I40335a1a3966d6c7c55bcdcca5a6dbf2a91a65d7
* Extract RuntimeManager from GitBlit singletonJames Moger2013-11-291-2/+9
| | | | Change-Id: I5358389396f816da979ec18a31421c2d2b67b3d9
* Create a Gitblit aggregate manager delegate for git upload/receive tasksJames Moger2013-11-291-0/+24
| | | | Change-Id: I2c4a5ddf051f228c0bd949c6cd4fd44c3da81d26
* Use Dagger to inject managers into all filters and servletsJames Moger2013-11-291-0/+136
Change-Id: I9bb2cc0cbfac9841b13bed15a474fefb24355cd4