forked from codeborne/play-guice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
43 lines (25 loc) · 1.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## Changelog
### 1.10
Move creation of guice injector from `onConfigurationRead()` to `onApplicationStart()`.
We found that method `onConfigurationRead()` can be called many times during application lifetime (on every application.conf change).
It causes creating multiple instances of guice injector, thus causing memory leaks.
### 1.9
* Added guava 23.0 dependency (Guice actually doesn't work without it)
* upgrade to play 1.5.1 (which adds methods Injector.setBeanSource() and automatically injects controllers' instances)
### 1.8
* upgrade to play 1.5
### 1.7
* create request.controllerInstance even if action method is static
### 1.6
* upgrade guice to 4.1.0 and include multibindings
### 1.5
* support injecting of non-static dependencies into controllers
### 1.4
* upgrade to guice 4.0
### 1.3
* support both javax.inject.Inject and com.google.inject.Inject annotations
* first search for custom injectors, and only then - for Modules. (the previous code depended on order of classes: which of them meets first in classpath)
### 1.2
* copy of play-guice 1.2 plugin
(taken from https://www.playframework.com/modules/guice)
Initial github project seems to be dead: http://github.com/pk11/play-guice-module