Skip to content

Commit 075a046

Browse files
committed
Merge pull request #31 from ecoreng/patch-1
Fix typo (?)
2 parents f44c85c + 64deaae commit 075a046

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/Delegate-lookup-meta.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ In the example above, "container 2" contains a controller "myController" and the
8989
Without the *delegate lookup* feature, when requesting the "myController" instance to container 2, it would take
9090
in charge the instanciation of both entries.
9191

92-
However, using the *delegate lookup* feature, here is what happens when we ask the composite controller for the
92+
However, using the *delegate lookup* feature, here is what happens when we ask the composite container for the
9393
"myController" instance:
9494

95-
- The composite controller asks container 1 if if contains the "myController" instance. The answer is no.
96-
- The composite controller asks container 2 if if contains the "myController" instance. The answer is yes.
97-
- The composite controller performs a `get` call on container 2 for the "myController" instance.
95+
- The composite container asks container 1 if if contains the "myController" instance. The answer is no.
96+
- The composite container asks container 2 if if contains the "myController" instance. The answer is yes.
97+
- The composite container performs a `get` call on container 2 for the "myController" instance.
9898
- Container 2 sees that "myController" has a dependency on "entityManager".
99-
- Container 2 delegates the lookup of "entityManager" to the composite controller.
100-
- The composite controller asks container 1 if if contains the "entityManager" instance. The answer is yes.
101-
- The composite controller performs a `get` call on container 1 for the "entityManager" instance.
99+
- Container 2 delegates the lookup of "entityManager" to the composite container.
100+
- The composite container asks container 1 if if contains the "entityManager" instance. The answer is yes.
101+
- The composite container performs a `get` call on container 1 for the "entityManager" instance.
102102

103103
In the end, we get a controller instanciated by container 2 that references an entityManager instanciated
104104
by container 1.

0 commit comments

Comments
 (0)