public interface RepositoryService
The repository may access just the local file system or an external service to download the bundles. The service will use a local file system repository in order to avoid download bundles that have already being downloaded or pre-installed in the server.
| Modifier and Type | Method and Description |
|---|---|
File |
lookupBundle(BundleDependency bundleDependency)
Finds a bundle in the the local repository or any of the external repositories configured.
|
File lookupBundle(BundleDependency bundleDependency)
If the bundle does not exists in the local repository but was found in an external repository then it will be stored in the local repositories to avoid a remote fetch if the bundle is requested again.
bundleDependency - descriptor to identify the bundleFile where the bundle is stored in the local repositoryBundleNotFoundException - when the bundle could not be located in any of the configured repositories.RepositoryConnectionException - when there was a problem connecting to one of the external repositories.RepositoryServiceDisabledException - when the repository service has not been properly configured.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.