You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2014/03/18 22:43:55 UTC

svn commit: r1579063 - /felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java

Author: pderop
Date: Tue Mar 18 21:43:54 2014
New Revision: 1579063

URL: http://svn.apache.org/r1579063
Log:
Removed handleChange(). updateInstance(), getComponentState() methods.
Added 	handleAdded(), handleChanged(), handleRemoved() methods.

Modified:
    felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java?rev=1579063&r1=1579062&r2=1579063&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java Tue Mar 18 21:43:54 2014
@@ -34,6 +34,7 @@ import dm.admin.ComponentDeclaration;
 import dm.admin.ComponentDependencyDeclaration;
 import dm.context.ComponentContext;
 import dm.context.DependencyContext;
+import dm.context.Event;
 
 /**
  * This class allows to filter a Component interface. All Aspect/Adapters extend this class
@@ -278,22 +279,26 @@ public class FilterComponent implements 
     }
 
     @Override
-    public void handleChange() {
-        m_component.handleChange();
+    public void handleAdded(DependencyContext dc, Event e) {
+        m_component.handleAdded(dc, e);
     }
 
     @Override
-    public Object[] getInstances() {
-        return m_component.getInstances();
+    public void handleChanged(DependencyContext dc, Event e) {
+        m_component.handleChanged(dc, e);
     }
 
     @Override
-    public void updateInstance(DependencyContext dependency) {
-        m_component.updateInstance(dependency);
+    public void handleRemoved(DependencyContext dc, Event e) {
+        m_component.handleRemoved(dc, e);
     }
 
     @Override
-    public ComponentState getComponentState() {
-        return m_component.getComponentState();
+    public Object[] getInstances() {
+        return m_component.getInstances();
+    }
+    
+    public Event getDependencyEvent(DependencyContext dc) {
+        return m_component.getDependencyEvent(dc);
     }
 }
\ No newline at end of file