Mike Bierlee
e90306ef57
Update copyrights
2017-02-13 20:20:35 +01:00
Mike Bierlee
6a1fa7e2c1
Move test classes to separate module
2016-12-17 23:33:29 +01:00
Mike Bierlee
b6dea95c0d
Add pre-destruction
2016-12-17 23:09:56 +01:00
Mike Bierlee
d3ed3e91b9
Add value injector
2016-12-09 02:15:59 +01:00
Mike Bierlee
81c6faed16
Pass factory through constructor to prevent nullpointer exceptions
2016-08-17 23:01:22 +02:00
Mike Bierlee
9e5a27d046
Deprecate singleton factory method
...
The factory method encourages misuse of dependency injection (by using it as a service locator). Removing the factory method forces the user to make this choice deliberately.
2016-08-08 22:17:17 +02:00
Mike Bierlee
7308702dfe
Add ability to mark autowire dependencies as optional
2016-02-15 22:52:48 +01:00
Mike Bierlee
13921a128e
Simplify templated calls in test
2016-02-10 00:34:01 +01:00
Mike Bierlee
85c31574ac
Cleanup whitespace
2016-02-10 00:24:45 +01:00
Stephan Dilly
f84b025110
fix autowiring in base classes
2016-02-09 22:21:36 +01:00
Mike Bierlee
d87c8a0457
Merge branch 'feature/autowire-private-fields' of https://github.com/Extrawurst/poodinis into Extrawurst-feature/autowire-private-fields
...
Conflicts:
README.md
2016-02-09 20:28:07 +01:00
Stephan Dilly
7d2ba1bef9
allow autowiring private fields too
2016-02-09 18:01:21 +01:00
Mike Bierlee
7bd0795b3f
Fix line delimiters
2016-01-06 20:28:25 +01:00
Mike Bierlee
c35e494dfe
Update copyrights
2016-01-06 20:18:35 +01:00
Mike Bierlee
be5eb37617
Remove public imports
2015-12-24 01:01:30 +01:00
Mike Bierlee
3e11ff1e92
Add ability to assign new instance to autowired member regardless of registration scope
2015-07-06 22:55:40 +02:00
Mike Bierlee
1ce37e6eda
Add autowiring of dynamic arrays
2015-07-04 14:06:35 +02:00
Mike Bierlee
a7ab3ea4d8
Remove unnecesary componentIsNull methods
2015-03-28 17:07:44 +01:00
Mike Bierlee
9860624148
Synchronize DependencyContainer
...
The implication is that dependency containers are now always shared data. In the sense of application context, this is acceptable.
2015-03-28 16:36:02 +01:00
Mike Bierlee
e44cdf276a
Remove deprecated "autowire in constructor"
2015-02-15 14:52:01 +01:00
Mike Bierlee
cb42ebc8c1
Update copyrights
2015-01-25 21:55:02 +01:00
Mike Bierlee
5ebb5805cf
Use instantiation context to decide whether to autowire or not
2015-01-25 19:46:17 +01:00
Mike Bierlee
9d931f511b
Add registration class that will autowire instances itself
2015-01-25 15:07:11 +01:00
Mike Bierlee
7ee67ee836
Specify qualifiers in Autowire UDA instead of using separate UDA
2014-12-13 23:15:43 +01:00
Mike Bierlee
1166d2811a
Add @Qualifier UDA for qualifying members typed by supertype
2014-12-13 22:06:11 +01:00
Mike Bierlee
b2bb6f15c4
Rename "Container" -> "DependencyContainer". Deprecate use of "Container"
2014-10-25 15:24:42 +02:00
Mike Bierlee
92db3c0405
Add "Autowired" alias for "Autowire" UDA to satisfy Spring habits
2014-10-12 17:41:09 +02:00
Mike Bierlee
b38bccc03c
Fix autowiring classes with non-symbolic unassignable members (such as aliases)
2014-07-09 23:15:05 +02:00
Mike Bierlee
c4c57da9eb
Clear all registrations after test is done
2014-06-22 17:24:08 +02:00
Mike Bierlee
627d165d6f
Add mixin for boilerplate workaround
2014-06-22 17:16:07 +02:00
Mike Bierlee
06024e55db
Use typeof instead
2014-06-22 16:52:50 +02:00
Mike Bierlee
47d7f72fae
Add test for resolve by interface workaround
2014-06-22 16:33:15 +02:00
Mike Bierlee
17c833a114
Use auto instead of explicit type in autowiretest
2014-06-22 16:13:25 +02:00
Mike Bierlee
e5484edb19
Apply open-source MIT license
2014-06-01 19:05:02 +02:00
Mike Bierlee
ec5cad2bbf
Add test for autowiring member with different attribute
2014-05-30 01:04:40 +02:00
Mike Bierlee
58d0c2b6e0
Add test for autowiring unregistered types
2014-05-30 00:51:03 +02:00
Mike Bierlee
35acaa84d1
Only autowire members which are null
2014-05-30 00:33:08 +02:00
Mike Bierlee
4957b67b49
Test that you can autowire members declared as an interface type
2014-05-27 02:02:07 +02:00
Mike Bierlee
a9e5b315e3
Add autowiring of concrete types in existing instances
2014-05-27 01:54:08 +02:00