felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r498548 - in /incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader: IModuleDefinition.java IWire.java
Date Mon, 22 Jan 2007 07:03:23 GMT
Author: rickhall
Date: Sun Jan 21 23:03:22 2007
New Revision: 498548

URL: http://svn.apache.org/viewvc?view=rev&rev=498548
Log:
Updated underlying module loader abstraction to use requirements and 
capabilities (FELIX-28).

Modified:
    incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader/IModuleDefinition.java
    incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader/IWire.java

Modified: incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader/IModuleDefinition.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader/IModuleDefinition.java?view=diff&rev=498548&r1=498547&r2=498548
==============================================================================
--- incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader/IModuleDefinition.java
(original)
+++ incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader/IModuleDefinition.java
Sun Jan 21 23:03:22 2007
@@ -18,14 +18,12 @@
  */
 package org.apache.felix.moduleloader;
 
-import org.apache.felix.framework.util.manifestparser.R4Import;
-import org.apache.felix.framework.util.manifestparser.R4Export;
 import org.apache.felix.framework.util.manifestparser.R4Library;
 
 public interface IModuleDefinition
 {
-    public R4Export[] getExports();
-    public R4Import[] getImports();
-    public R4Import[] getDynamicImports();
+    public ICapability[] getCapabilities();
+    public IRequirement[] getRequirements();
+    public IRequirement[] getDynamicRequirements();
     public R4Library[] getLibraries();
 }

Modified: incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader/IWire.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader/IWire.java?view=diff&rev=498548&r1=498547&r2=498548
==============================================================================
--- incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader/IWire.java
(original)
+++ incubator/felix/trunk/framework/src/main/java/org/apache/felix/moduleloader/IWire.java
Sun Jan 21 23:03:22 2007
@@ -21,13 +21,11 @@
 import java.net.URL;
 import java.util.Enumeration;
 
-import org.apache.felix.framework.util.manifestparser.R4Export;
-
 public interface IWire
 {
     public IModule getImporter();
     public IModule getExporter();
-    public R4Export getExport();
+    public ICapability getCapability();
     public Class getClass(String name) throws ClassNotFoundException;
     public URL getResource(String name) throws ResourceNotFoundException;
     public Enumeration getResources(String name) throws ResourceNotFoundException;



Mime
View raw message