diff --git a/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/resolver/ModuleResolver.java b/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/resolver/ModuleResolver.java index f863b11f9..7925473fa 100644 --- a/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/resolver/ModuleResolver.java +++ b/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/resolver/ModuleResolver.java @@ -18,16 +18,21 @@ package org.springframework.cloud.stream.module.resolver; import org.springframework.core.io.Resource; /** - * Interface used to retrieve a Module uber-jar from a remote or local repository. + * Interface used to return a {@link Resource} that provides access to a module + * uber-jar based on its Maven coordinates. + * * @author David Turanski */ public interface ModuleResolver { + /** * Retrieve a resource given its coordinates. + * * @param groupId the groupId * @param artifactId the artifactId * @param version the version * @return the resource */ public Resource resolve(String groupId, String artifactId, String version); + } diff --git a/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/resolver/package-info.java b/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/resolver/package-info.java index eec34a34f..0a457ab6b 100644 --- a/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/resolver/package-info.java +++ b/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/resolver/package-info.java @@ -1,5 +1,5 @@ /** - * Root package of the Module support. + * Root package of the ModuleResolver support. */ package org.springframework.cloud.stream.module.resolver;