FELIX-2106, FELIX-692: Control which repositories are used for a given resolver
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@915288 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/org.osgi.service.obr/src/main/java/org/osgi/service/obr/Repository.java b/org.osgi.service.obr/src/main/java/org/osgi/service/obr/Repository.java
index 30adeb9..172c5f2 100644
--- a/org.osgi.service.obr/src/main/java/org/osgi/service/obr/Repository.java
+++ b/org.osgi.service.obr/src/main/java/org/osgi/service/obr/Repository.java
@@ -42,7 +42,7 @@
Resource[] getResources();
/**
- * Return the name of this reposotory.
+ * Return the name of this repository.
*
* @return a non-null name
*/
@@ -50,4 +50,14 @@
long getLastModified();
+ /**
+ * Returns whether this repository is a local one
+ * or not.
+ *
+ * Local repositories contains resources that are already available
+ * in the OSGi framework and thus will be preferred over other
+ * resources.
+ */
+ boolean isLocal();
+
}
\ No newline at end of file