public interface KarService
| Modifier and Type | Method and Description |
|---|---|
void |
create(String repoName,
List<String> features,
PrintStream console)
Create a kar from the given feature and repo names.
|
void |
install(URI karUri)
Install KAR from a given URI
Resources will be copied to the karaf base dir
Repository contents will be copied to a subdir in the
karaf data directory
|
void |
install(URI karUri,
File repoDir,
File resourceDir)
Install a kar with manually given repository and
resource directories.
|
List<String> |
list()
List the KAR stored in the data folder.
|
void |
uninstall(String name)
Uninstall the given KAR
|
void install(URI karUri) throws Exception
karUri - Uri of the kar to be installedException - in case of installation failure.void install(URI karUri, File repoDir, File resourceDir) throws Exception
karUri - Uri of the kar to be installedrepoDir - destination for the repository contents of the karresourceDir - destination for the resource contents of the karExceptionvoid uninstall(String name) throws Exception
name - the name of the KARException - in case of failureList<String> list() throws Exception
Exception - in case of listing failure.void create(String repoName, List<String> features, PrintStream console)
repoName - features - console - Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.