felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1587037 - /felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/Dependency.java
Date Sun, 13 Apr 2014 16:59:02 GMT
Author: pderop
Date: Sun Apr 13 16:59:02 2014
New Revision: 1587037

URL: http://svn.apache.org/r1587037
Log:
Removed setCallbacks, setRequired, setAutoConfig method, which are declared from actual dependency
sub-interfaces.
Added generic dependency methods (isRequired, isAvailable, isAutoConfig, getAutoConfigName,
isPropagated, getProperties).

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

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/Dependency.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/Dependency.java?rev=1587037&r1=1587036&r2=1587037&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/Dependency.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/Dependency.java Sun Apr 13
16:59:02 2014
@@ -1,15 +1,15 @@
 package dm;
 
+import java.util.Dictionary;
 
 /**
  * A dependency. Can be added to a single component. Can be available, or not.
  */
 public interface Dependency {
-	public Dependency setCallbacks(String add, String remove);
-	public Dependency setCallbacks(String add, String change, String remove);
-	public Dependency setCallbacks(Object instance, String add, String remove);
-	public Dependency setCallbacks(Object instance, String add, String change, String remove);
-	public Dependency setRequired(boolean required);
-	public Dependency setAutoConfig(boolean autoConfig);
-    public Dependency setAutoConfig(String instanceName);
+    public boolean isRequired();
+    public boolean isAvailable();
+    public boolean isAutoConfig();
+    public String getAutoConfigName();
+    public boolean isPropagated();
+    public Dictionary getProperties();
 }



Mime
View raw message