Commit graph

42 commits

Author SHA1 Message Date
Mike Bierlee 52dcecef9a Add optional value injection when values cannot be injected by injectors 2016-12-11 01:15:30 +01:00
Mike Bierlee e7e114d09f Add section on injection within value injectors 2016-12-10 22:45:40 +01:00
Mike Bierlee ade93432fe Add section on where to find value injectors 2016-12-10 22:23:42 +01:00
Mike Bierlee 893173e8e2 Add value injection to the tutorial 2016-12-10 22:15:44 +01:00
Mike Bierlee 67fa51a14f Fix minor details 2016-09-03 18:36:26 +02:00
Mike Bierlee ba90c57dd4 Add persistent resolve options to tutorial 2016-09-03 17:02:19 +02:00
Mike Bierlee 95e30477c6 Prevent creation of circular dependencies in constructors 2016-09-03 16:57:38 +02:00
Mike Bierlee ed20c8fd16 Rewrite example to be more factually correct now 2016-08-23 21:46:33 +02:00
Mike Bierlee 0a632226ad Fix typo 2016-08-23 21:44:41 +02:00
Mike Bierlee 80a50ba480 Rewrite sentence 2016-08-23 21:41:46 +02:00
Mike Bierlee 8759b2b6c4 Fix formatting and add to 2016-08-23 21:40:06 +02:00
Mike Bierlee 1869ec2782 Rewrite sentence to be less confusing 2016-08-23 21:32:19 +02:00
Mike Bierlee 6f6cd2381c Fix typo 2016-08-23 21:29:33 +02:00
Mike Bierlee 1a51e2081e Remove redundant addition 2016-08-23 21:28:54 +02:00
Mike Bierlee de26a49b8d Change wording to be more accurate 2016-08-23 21:24:41 +02:00
Mike Bierlee 97fbf03b85 Change title of tutorial chapter on automatic injection 2016-08-23 21:23:19 +02:00
Mike Bierlee 44c41b1579 Add constructor injection to documentation 2016-08-23 21:10:31 +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 fcf021cf74 Clarify tutorial text a bit 2016-02-15 20:56:02 +01:00
Mike Bierlee e22801017f Properly highlight code elements in tutorial 2016-02-15 20:49:57 +01:00
Mike Bierlee 899e76b3c9 Note that members of protected visibility can also be autowired 2016-02-15 20:42:45 +01:00
Mike Bierlee a99256e03c Remove decoration 2016-02-15 20:40:20 +01:00
Mike Bierlee af5df7a26c Add caveat 2016-02-15 20:37:54 +01:00
Mike Bierlee 2cc8f3d68a Fix tutorial showing how to create a new container
Containers should be shared because they're designed to work accross threads.
2016-02-15 20:36:09 +01:00
Mike Bierlee b7eee5e51f Fix typos of enum RegistrationOption
Fixes #9
2016-02-11 20:40:16 +01:00
Mike Bierlee fdbd3c06a1 Make all autowired members in examples and the tutorial private
To set a proper example!
2016-02-09 21:06:07 +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 bf4360d3df Stick tutorial part about doNotAddConcreteTypeRegistration in the right section 2016-02-03 23:27:14 +01:00
Mike Bierlee d34e35d877 Don't use deprecated registration option and method in tutorial 2016-02-03 23:06:44 +01:00
Mike Bierlee 9ebbb5d917 Add ability to register a type while resolving it
Closes #5
2016-02-03 23:05:39 +01:00
Mike Bierlee def5ec2e88 Add setting persistent registration options 2016-02-03 21:28:33 +01:00
Mike Bierlee 7bd0795b3f Fix line delimiters 2016-01-06 20:28:25 +01:00
Mike Bierlee 7d206e8964 Fix incorrect fact in tutorial 2015-12-29 01:41:36 +01:00
Mike Bierlee 78e8acd7a3 Adjust tutorial a bit 2015-12-24 23:10:56 +01:00
Mike Bierlee 472cfc432f Add tutorial for application contexts 2015-12-24 22:59:11 +01:00
Mike Bierlee aa8aef5c06 Alter tutorial do put less emphasis on registration scopes 2015-12-23 17:57:33 +01:00
Mike Bierlee 7fba33247a Update tutorial to reflect new interface registration behaviour 2015-09-26 22:40:34 +02:00
Mike Bierlee c87981861d Fix typo in tutorial 2015-07-04 15:18:37 +02:00
Mike Bierlee 5c9a623ef6 Add autowiring to array to tutorial 2015-07-04 14:36:41 +02:00
Mike Bierlee 9abd329fba Split off extensive examples in README.md to a separate tutorial 2015-07-03 23:53:37 +02:00