Commit Graph

73 Commits

Author SHA1 Message Date
Taylor Wicksell
b2a767e51a support Guice binding annotations in SpringModule 2018-03-28 09:35:48 -07:00
Taylor Wicksell
1680610faf create injector before embedded server initialization, after other BeanPostProcessors 2018-03-01 11:51:06 -06:00
Taylor Wicksell
5e3603c29d remove check for Tool stage from SpringModule as it is no longer required 2018-03-01 11:10:40 +00:00
Dave Syer
8cbdf37570 Revert to snapshots 2018-03-01 10:13:38 +00:00
Dave Syer
78ec4c1716 Update for 1.1.2 2018-03-01 10:13:00 +00:00
Taylor Wicksell
a098f7854b Added an option to deduplicate bindings in favor of Spring
User can set Environment property spring.guice.dedup=true.
2018-03-01 09:53:31 +00:00
Taylor Wicksell
e94c94837f Restore support for Guice PrivateModule's
See #32
2018-02-28 18:04:41 +00:00
Taylor Wicksell
aae2e1fc47 support multiple stages, as can occur when using ElementVisitors 2018-02-27 16:50:46 +00:00
Dave Syer
1af4fccde2 Revert to snapshots 2018-02-22 16:22:51 +00:00
Dave Syer
e01e0093af Release 1.1.1 2018-02-22 16:22:18 +00:00
Taylor Wicksell
bd30107666 Ensure bean post processors are applied before injector is created
In this way, Guice modules can declare bindings asEagerSingleton()
2018-02-22 16:14:35 +00:00
Dave Syer
ee35353c02 Revert to snapshots 2018-02-01 14:32:48 +00:00
Dave Syer
15b1aa1be6 Update to 1.1.0.RELEASE 2018-02-01 11:24:32 +00:00
Dave Syer
e0a1ceff3e Bump baselines to Java 8 Spring 5 2018-02-01 10:17:43 +00:00
Dave Syer
8e26ec0f3c Add a test for generic bean type
Fixes gh-26
2018-02-01 09:04:32 +00:00
Dave Syer
a6c6f6d182 Revert to snapshots 2017-12-22 09:04:47 +00:00
Dave Syer
9d4b128846 Update for 1.0.1 2017-12-22 09:04:17 +00:00
Dave Syer
9a8af0efd6 Add another test
See gh-26
2017-12-21 16:18:05 +00:00
Dave Syer
becf90b951 Add another test for @EnableGuiceModules
See gh-22
2017-12-21 16:14:47 +00:00
Matt Metlis
fda2edb524 Make GuiceModuleRegistrar handle excludeNames filter correctly. 2017-12-21 16:03:22 +00:00
Taylor Wicksell
5e14e96248 make GuiceModuleMetadata handle ParameterizedType's correctly #20 2017-08-01 07:02:55 +01:00
Dave Syer
db04553972 Use symlink for .m2 cache 2017-07-05 09:03:58 +01:00
Dave Syer
57c6b2b8f3 Update pipeline for new version of concourse 2017-06-30 09:20:36 +01:00
Dave Syer
de864327b7 Use the correct base image for the gpg keys 2017-06-11 09:13:36 +01:00
Dave Syer
98c60c83b6 Revert to snapshots 2017-06-10 10:16:37 +01:00
Taylor Wicksell
dac9688e99 handle null types on bean definitions in SpringModule 2017-06-10 10:08:01 +01:00
Taylor Wicksell
1825c933d0 set resource description for beans provided by Guice modules 2017-06-10 07:04:14 +01:00
Dave Syer
739442aa28 Update to 1.0.0.RELEASE 2017-06-09 13:50:08 +01:00
Dave Syer
2ba7996be1 Add Spring 4.3.9 build job 2017-06-09 13:49:53 +01:00
Dave Syer
c3b3de35fe Update gpg key config 2017-06-08 12:31:32 +01:00
Dave Syer
63c8c2e47f Tidy up package structure a bit 2017-06-04 11:23:02 +01:00
Dave Syer
b810a80ae7 Fix javadocs 2017-06-04 11:09:00 +01:00
Dave Syer
6574913f2e Add some docs and a Closeable to BeanFactoryProvider 2017-06-04 11:05:26 +01:00
Dave Syer
37d02f639e Revert to snapshots 2017-06-01 12:33:07 +01:00
Dave Syer
1e981dd7c9 Update to 1.0.0.M1 2017-06-01 12:29:42 +01:00
Dave Syer
d2bca15aad Add credentials 2017-06-01 12:29:12 +01:00
Dave Syer
6c316c81b1 Add pipeline config for concourse build 2017-06-01 12:12:26 +01:00
Dave Syer
ef99fdbb24 Update travis config 2017-06-01 12:09:45 +01:00
Dave Syer
2bdc5ba2c7 Add build status 2017-06-01 11:59:28 +01:00
Dave Syer
490fc20cf7 Extract BeanFactoryProvider into convenience class 2017-06-01 11:12:54 +01:00
Dave Syer
a01511f269 Add Maven wrapper 2017-06-01 11:12:54 +01:00
Taylor Wicksell
b26bdb4125 Make SpringModule aware of bindings in wrapping Injector
See gh-13, gh-12
2017-06-01 11:12:32 +01:00
Dave Syer
c42ba69532 Move @SuppressWarnings to private methods 2017-06-01 08:43:25 +01:00
Taylor Wicksell
061aef36f2 support binding of generic interfaces from SpringModule 2017-06-01 08:32:23 +01:00
Dave Syer
9dae979d39 Add some tests 2017-05-26 14:22:25 +01:00
Dave Syer
5708ba0469 Add test for spring module including another guice module
This test is from a PR by @twicksell, but modified to run without
any changes in spring-guice. See gh-12 for discussion.
2017-05-24 17:40:03 +01:00
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
Leandro Glossman
4597ba5af4 Allow to use @Named annotation without having to set the bean as @Primary 2017-05-21 10:14:22 +01:00
Dave Syer
afcc7dc371 Revert "Allow to use @Named annotation without having to set the bean as @Primary"
This reverts commit ca0be6e192.
2017-05-21 08:57:00 +01:00
Leandro Glossman
ca0be6e192 Allow to use @Named annotation without having to set the bean as @Primary 2017-05-21 08:47:02 +01:00