org.apache.karaf.features
Interface FeaturesService
- All Known Implementing Classes:
- FeaturesServiceImpl
public interface FeaturesService
The service managing features repositories.
validateRepository
void validateRepository(java.net.URI uri)
throws Exception
- Validate repository contents.
- Parameters:
uri
- Repository uri.
- Throws:
Exception
- When validation fails.
addRepository
void addRepository(java.net.URI url)
throws Exception
- Throws:
Exception
removeRepository
void removeRepository(java.net.URI url)
restoreRepository
void restoreRepository(java.net.URI url)
throws Exception
- Throws:
Exception
listRepositories
Repository[] listRepositories()
installFeature
void installFeature(java.lang.String name)
throws Exception
- Throws:
Exception
installFeature
void installFeature(java.lang.String name,
java.lang.String version)
throws Exception
- Throws:
Exception
installFeature
void installFeature(java.lang.String name,
java.lang.String version,
java.util.EnumSet<FeaturesService.Option> options)
throws Exception
- Throws:
Exception
installFeature
void installFeature(Feature f,
java.util.EnumSet<FeaturesService.Option> options)
throws Exception
- Throws:
Exception
installFeatures
void installFeatures(java.util.Set<Feature> features,
java.util.EnumSet<FeaturesService.Option> options)
throws Exception
- Throws:
Exception
uninstallFeature
void uninstallFeature(java.lang.String name)
throws Exception
- Throws:
Exception
uninstallFeature
void uninstallFeature(java.lang.String name,
java.lang.String version)
throws Exception
- Throws:
Exception
listFeatures
Feature[] listFeatures()
throws Exception
- Throws:
Exception
listInstalledFeatures
Feature[] listInstalledFeatures()
isInstalled
boolean isInstalled(Feature f)
getFeature
Feature getFeature(java.lang.String name,
java.lang.String version)
throws Exception
- Throws:
Exception
getFeature
Feature getFeature(java.lang.String name)
throws Exception
- Throws:
Exception
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.