felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1583076 - in /felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl: ComponentImpl.java FilterComponent.java
Date Sat, 29 Mar 2014 22:16:09 GMT
Author: pderop
Date: Sat Mar 29 22:16:09 2014
New Revision: 1583076

URL: http://svn.apache.org/r1583076
Log:
Added getComponentDeclaration() method.


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

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java?rev=1583076&r1=1583075&r2=1583076&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java Sat
Mar 29 22:16:09 2014
@@ -28,12 +28,12 @@ import org.osgi.framework.BundleContext;
 import org.osgi.framework.ServiceRegistration;
 
 import dm.Component;
+import dm.ComponentDeclaration;
+import dm.ComponentDependencyDeclaration;
 import dm.ComponentState;
 import dm.ComponentStateListener;
 import dm.Dependency;
 import dm.DependencyManager;
-import dm.admin.ComponentDeclaration;
-import dm.admin.ComponentDependencyDeclaration;
 import dm.context.ComponentContext;
 import dm.context.DependencyContext;
 import dm.context.Event;
@@ -1082,4 +1082,8 @@ public class ComponentImpl implements Co
     public void ensureNotActive() {
         // TODO Auto-generated method stub
     }
+    
+    public ComponentDeclaration getComponentDeclaration() {
+        return this;
+    }
 }

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=1583076&r1=1583075&r2=1583076&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 Sat
Mar 29 22:16:09 2014
@@ -26,12 +26,12 @@ import org.osgi.framework.BundleContext;
 import org.osgi.framework.ServiceRegistration;
 
 import dm.Component;
+import dm.ComponentDeclaration;
+import dm.ComponentDependencyDeclaration;
 import dm.ComponentState;
 import dm.ComponentStateListener;
 import dm.Dependency;
 import dm.DependencyManager;
-import dm.admin.ComponentDeclaration;
-import dm.admin.ComponentDependencyDeclaration;
 import dm.context.ComponentContext;
 import dm.context.DependencyContext;
 import dm.context.Event;
@@ -301,4 +301,8 @@ public class FilterComponent implements 
     public Event getDependencyEvent(DependencyContext dc) {
         return m_component.getDependencyEvent(dc);
     }
+    
+    public ComponentDeclaration getComponentDeclaration() {
+        return this;
+    }
 }
\ No newline at end of file



Mime
View raw message