public class ObrResolver extends Object implements org.apache.karaf.features.Resolver
| Constructor and Description |
|---|
ObrResolver() |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.karaf.features.BundleInfo> |
getAllBundles(org.apache.karaf.features.Feature feature)
get all bundles from a given feature, including the bundles from dependency
features
|
org.apache.karaf.features.FeaturesService |
getFeaturesService() |
org.apache.felix.bundlerepository.RepositoryAdmin |
getRepositoryAdmin() |
boolean |
isResolveOptionalImports() |
protected org.apache.felix.bundlerepository.Requirement |
parseRequirement(String req) |
protected void |
printUnderline(PrintWriter out,
int length) |
List<org.apache.karaf.features.BundleInfo> |
resolve(org.apache.karaf.features.Feature feature) |
void |
setFeaturesService(org.apache.karaf.features.FeaturesService featuresService) |
void |
setRepositoryAdmin(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin) |
void |
setResolveOptionalImports(boolean resolveOptionalImports)
When set to
true, the OBR resolver will try to resolve optional imports as well. |
void |
setStartByDefault(boolean startByDefault) |
void |
setStartLevel(int startLevel) |
public org.apache.felix.bundlerepository.RepositoryAdmin getRepositoryAdmin()
public void setRepositoryAdmin(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin)
public boolean isResolveOptionalImports()
public void setResolveOptionalImports(boolean resolveOptionalImports)
true, the OBR resolver will try to resolve optional imports as well.
Defaults to falseresolveOptionalImports - public void setStartByDefault(boolean startByDefault)
public void setStartLevel(int startLevel)
public List<org.apache.karaf.features.BundleInfo> resolve(org.apache.karaf.features.Feature feature) throws Exception
resolve in interface org.apache.karaf.features.ResolverExceptionpublic List<org.apache.karaf.features.BundleInfo> getAllBundles(org.apache.karaf.features.Feature feature) throws Exception
feature - Exceptionprotected void printUnderline(PrintWriter out, int length)
protected org.apache.felix.bundlerepository.Requirement parseRequirement(String req)
public org.apache.karaf.features.FeaturesService getFeaturesService()
public void setFeaturesService(org.apache.karaf.features.FeaturesService featuresService)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.