X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.osgi.boot%2Fsrc%2Forg%2Fargeo%2Fosgi%2Fa2%2FProvisioningSource.java;fp=org.argeo.osgi.boot%2Fsrc%2Forg%2Fargeo%2Fosgi%2Fa2%2FProvisioningSource.java;h=0000000000000000000000000000000000000000;hb=b7d8618ce593bbeca7e311d32a4d98988e27f877;hp=7d6fadf7ba95e9e0d64fe0a7368bb2da79e06305;hpb=25a31ea46e5de6ce0de366fdb999588c6788c540;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.osgi.boot/src/org/argeo/osgi/a2/ProvisioningSource.java b/org.argeo.osgi.boot/src/org/argeo/osgi/a2/ProvisioningSource.java deleted file mode 100644 index 7d6fadf7b..000000000 --- a/org.argeo.osgi.boot/src/org/argeo/osgi/a2/ProvisioningSource.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.argeo.osgi.a2; - -import org.osgi.framework.Bundle; -import org.osgi.framework.BundleContext; -import org.osgi.framework.Version; - -/** Where components are retrieved from. */ -public interface ProvisioningSource { - /** List all contributions of this source. */ - Iterable listContributions(Object filter); - - /** Install a module in the OSGi runtime. */ - Bundle install(BundleContext bc, A2Module module); - - /** Update a module in the OSGi runtime. */ - void update(Bundle bundle, A2Module module); - - /** Finds the {@link A2Branch} related to this component and version. */ - A2Branch findBranch(String componentId, Version version); - -}