Dave Syer
771edd3711
Add support for @Named beans in SpringModule
...
A SpringModule now registers all beans by type and by name
separately, so clients can inject qualified instances.
2017-05-21 13:29:51 +01:00
Taylor Wicksell
8fd316ce23
add test case for InjectorFactory usage
...
added startup exception when multiple InjectorFactory definitions are provided
2017-05-21 08:44:21 +01:00
Dave Syer
1002284360
Add support for bean names
...
Users can in inject Spring beans by name in Guice using
@Named, or they can inject Guice beans in Spring as long
as they have @Named providers.
Fixes gh-7
2016-06-02 10:25:32 +01:00
Taylor Wicksell
71f1c363cc
Modify to use BeanDefinitionRegistryPostProcessor
...
Also set guice binding source to "spring-guice" to avoid duplicate beans
Fixes gh-5
2016-02-04 11:35:05 +00:00
Dave Syer
2698b4e3e3
Add some sub-packages
2014-04-22 11:38:20 +01:00
Dave Syer
16172b9f6e
Add bean name filters to GuiceModule
2014-04-17 11:32:14 -07:00
Dave Syer
81ac3999f9
Add SpringModule automatically to Injector
2014-04-17 08:04:27 -07:00
Dave Syer
97d5fa1d96
Add support for multiple GuiceModuleMetadatas
2014-04-17 04:29:04 -07:00
Dave Syer
431094e664
Add @GuiceModules with includes and excludes
2014-04-16 21:51:33 -07:00
Dave Syer
bc73409012
Support for @Primary beans
2014-04-16 20:57:40 -07:00
Dave Syer
327dd4d823
Fix tests and watch out for non-visible classes
2014-04-16 17:57:12 -07:00
Dave Syer
b8ff5d3516
Extract metadata for includes and excludes
2014-04-16 17:46:19 -07:00
Dave Syer
8ceebb9426
Ensure singleton with no interface works
2014-04-16 16:46:16 -07:00
Dave Syer
335a7120d0
Add limitations
2014-04-14 11:10:42 -07:00
Dave Syer
8460ea0425
Rename packages etc
2014-04-14 10:38:16 -07:00