commit | a4df999baa37a9c5bc2e90b6872f3f70ab1ba876 | [log] [tgz] |
---|---|---|
author | Pierre De Rop <pderop@apache.org> | Thu May 21 18:01:08 2015 +0000 |
committer | Pierre De Rop <pderop@apache.org> | Thu May 21 18:01:08 2015 +0000 |
tree | cd877ca40c8e906d4df98af669929a83fa7d8957 | |
parent | 0c023d00e23738b29233d104f790342641e660f9 [diff] |
added comments. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1680937 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/compositefactory/CompositionManager.java b/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/compositefactory/CompositionManager.java index fb222ea..705d7dc 100644 --- a/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/compositefactory/CompositionManager.java +++ b/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/compositefactory/CompositionManager.java
@@ -45,7 +45,9 @@ * @return The "main" object providing the "Provider" service. */ Object create() { - // Here, we can instantiate our object composition and configure them using the injected Configuration ... + // Here, we can instantiate our objects composition and configure them using the injected Configuration ... + // Notice that we can also instantiate some different implementation objects, based on the what we find + // from the configuration. m_participant1 = new ProviderParticipant1(); // possibly configure this object using our configuration m_participant2 = new ProviderParticipant2(); // possibly configure this object using our configuration m_providerImpl = new ProviderImpl(m_participant1, m_participant2);