@ThreadSafe @Service(value=org.apache.karaf.features.FeaturesService.class) public final class FabricFeaturesServiceImpl extends AbstractComponent implements org.apache.karaf.features.FeaturesService, java.lang.Runnable
Constructor and Description |
---|
FabricFeaturesServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addRepository(java.net.URI uri) |
void |
addRepository(java.net.URI uri,
boolean b) |
org.apache.karaf.features.Feature |
getFeature(java.lang.String name) |
org.apache.karaf.features.Feature |
getFeature(java.lang.String name,
java.lang.String version) |
void |
installFeature(org.apache.karaf.features.Feature feature,
java.util.EnumSet<org.apache.karaf.features.FeaturesService.Option> options) |
void |
installFeature(java.lang.String s) |
void |
installFeature(java.lang.String s,
java.util.EnumSet<org.apache.karaf.features.FeaturesService.Option> options) |
void |
installFeature(java.lang.String s,
java.lang.String s2) |
void |
installFeature(java.lang.String s,
java.lang.String s2,
java.util.EnumSet<org.apache.karaf.features.FeaturesService.Option> options) |
void |
installFeatures(java.util.Set<org.apache.karaf.features.Feature> features,
java.util.EnumSet<org.apache.karaf.features.FeaturesService.Option> options) |
boolean |
isInstalled(org.apache.karaf.features.Feature feature) |
org.apache.karaf.features.Feature[] |
listFeatures() |
org.apache.karaf.features.Feature[] |
listInstalledFeatures() |
org.apache.karaf.features.Repository[] |
listRepositories()
|
void |
removeRepository(java.net.URI uri) |
void |
removeRepository(java.net.URI uri,
boolean b) |
void |
restoreRepository(java.net.URI uri) |
void |
run() |
void |
uninstallFeature(java.lang.String s) |
void |
uninstallFeature(java.lang.String s,
java.lang.String s2) |
void |
validateRepository(java.net.URI uri) |
activateComponent, assertValid, deactivateComponent, isValid
public void run()
run
in interface java.lang.Runnable
public void validateRepository(java.net.URI uri) throws java.lang.Exception
validateRepository
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void addRepository(java.net.URI uri) throws java.lang.Exception
addRepository
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void addRepository(java.net.URI uri, boolean b) throws java.lang.Exception
addRepository
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void removeRepository(java.net.URI uri) throws java.lang.Exception
removeRepository
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void removeRepository(java.net.URI uri, boolean b) throws java.lang.Exception
removeRepository
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void restoreRepository(java.net.URI uri) throws java.lang.Exception
restoreRepository
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public org.apache.karaf.features.Repository[] listRepositories()
listRepositories
in interface org.apache.karaf.features.FeaturesService
public void installFeature(java.lang.String s) throws java.lang.Exception
installFeature
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void installFeature(java.lang.String s, java.util.EnumSet<org.apache.karaf.features.FeaturesService.Option> options) throws java.lang.Exception
installFeature
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void installFeature(java.lang.String s, java.lang.String s2) throws java.lang.Exception
installFeature
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void installFeature(java.lang.String s, java.lang.String s2, java.util.EnumSet<org.apache.karaf.features.FeaturesService.Option> options) throws java.lang.Exception
installFeature
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void installFeature(org.apache.karaf.features.Feature feature, java.util.EnumSet<org.apache.karaf.features.FeaturesService.Option> options) throws java.lang.Exception
installFeature
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void installFeatures(java.util.Set<org.apache.karaf.features.Feature> features, java.util.EnumSet<org.apache.karaf.features.FeaturesService.Option> options) throws java.lang.Exception
installFeatures
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void uninstallFeature(java.lang.String s) throws java.lang.Exception
uninstallFeature
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public void uninstallFeature(java.lang.String s, java.lang.String s2) throws java.lang.Exception
uninstallFeature
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public org.apache.karaf.features.Feature[] listFeatures() throws java.lang.Exception
listFeatures
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public org.apache.karaf.features.Feature[] listInstalledFeatures()
listInstalledFeatures
in interface org.apache.karaf.features.FeaturesService
public boolean isInstalled(org.apache.karaf.features.Feature feature)
isInstalled
in interface org.apache.karaf.features.FeaturesService
public org.apache.karaf.features.Feature getFeature(java.lang.String name) throws java.lang.Exception
getFeature
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
public org.apache.karaf.features.Feature getFeature(java.lang.String name, java.lang.String version) throws java.lang.Exception
getFeature
in interface org.apache.karaf.features.FeaturesService
java.lang.Exception
Copyright © 2014 Red Hat. All Rights Reserved.