felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r896084 - /felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ResourceAdapterImpl.java
Date Tue, 05 Jan 2010 15:11:48 GMT
Author: marrs
Date: Tue Jan  5 15:11:47 2010
New Revision: 896084

URL: http://svn.apache.org/viewvc?rev=896084&view=rev
Log:
added support for "changed" callbacks in resources

Modified:
    felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ResourceAdapterImpl.java

Modified: felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ResourceAdapterImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ResourceAdapterImpl.java?rev=896084&r1=896083&r2=896084&view=diff
==============================================================================
--- felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ResourceAdapterImpl.java
(original)
+++ felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ResourceAdapterImpl.java
Tue Jan  5 15:11:47 2010
@@ -72,6 +72,8 @@
                 .add(m_manager.createResourceDependency()
                     .setResource(resource)
                     .setPropagate(m_propagate)
+                    .setCallbacks(null, "changed", null)
+                    .setAutoConfig(true)
                     .setRequired(true)
                 );
         }
@@ -83,6 +85,8 @@
                 .add(m_manager.createResourceDependency()
                     .setResource(resource)
                     .setPropagate(m_propagate)
+                    .setCallbacks(null, "changed", null)
+                    .setAutoConfig(true)
                     .setRequired(true)
                 );
         }



Mime
View raw message