felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1680937 - /felix/trunk/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/compositefactory/CompositionManager.java
Date Thu, 21 May 2015 18:01:09 GMT
Author: pderop
Date: Thu May 21 18:01:08 2015
New Revision: 1680937

URL: http://svn.apache.org/r1680937
Log:
added comments.

Modified:
    felix/trunk/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/compositefactory/CompositionManager.java

Modified: felix/trunk/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/compositefactory/CompositionManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/compositefactory/CompositionManager.java?rev=1680937&r1=1680936&r2=1680937&view=diff
==============================================================================
--- felix/trunk/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/compositefactory/CompositionManager.java
(original)
+++ felix/trunk/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/compositefactory/CompositionManager.java
Thu May 21 18:01:08 2015
@@ -45,7 +45,9 @@ public class CompositionManager {
      * @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);



Mime
View raw message