From 8759b2b6c4ae80e1fc158042eeac6e1f368e3b1c Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Tue, 23 Aug 2016 21:40:06 +0200 Subject: [PATCH] Fix formatting and add to --- TUTORIAL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TUTORIAL.md b/TUTORIAL.md index 28bd741..6192c00 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -131,7 +131,9 @@ Classes with multiple constructors can be injected. The following rules apply to * Injection is attempted for the first constructor which has non-builtin types only in its parameter list. * When a constructor with an empty parameter list is found, no other constructors are attempted (and nothing is injected). This can be used to explicitly prevent constructor injection. * When no injectable constructor is found an InstanceCreationException will be thrown on resolve. + If the constructors of a class are not suitable for injection, you could manually configure its creation using Application Contexts (see chapter further down). +Constructor injection has the advantage of not having add dependcies to Poodinis all over your application. Circular dependencies ---------------------