felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1572731 - /felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/Component.java
Date Thu, 27 Feb 2014 21:06:21 GMT
Author: pderop
Date: Thu Feb 27 21:06:20 2014
New Revision: 1572731

URL: http://svn.apache.org/r1572731
Log:
Use varargs in add(Depedency) method in order to be able to optionally atomically add many
dependencies.


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

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/Component.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/Component.java?rev=1572731&r1=1572730&r2=1572731&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/Component.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/Component.java Thu Feb 27 21:06:20
2014
@@ -6,7 +6,7 @@ package dm;
  */
 public interface Component {
 	public Component setImplementation(Object implementation);
-	public Component add(Dependency d);
+	public Component add(Dependency ... dependencies);
 	public Component remove(Dependency d);
 	public Component add(ComponentStateListener l);
 	public Component remove(ComponentStateListener l);



Mime
View raw message