public class FabResolverFactoryImpl extends java.lang.Object implements FabResolverFactory, ServiceProvider
FabResolverFactory - this implementation will be instantiated by Blueprint
and get injected with appropriate bundle context / configuration admin / features service.
It will also be embedded inside Fabric's FAB support, but there the features service will not available.| Modifier and Type | Class and Description |
|---|---|
class |
FabResolverFactoryImpl.FabResolverImpl |
protected static class |
FabResolverFactoryImpl.FeaturesMatchingFilter
Filter implementation that matches dependencies to known features, replacing the dependency by the feature
|
| Constructor and Description |
|---|
FabResolverFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.BundleContext |
getBundleContext() |
Configuration |
getConfiguration() |
org.osgi.service.cm.ConfigurationAdmin |
getConfigurationAdmin() |
org.apache.karaf.features.FeaturesService |
getFeaturesService() |
ModuleRegistry |
getRegistry() |
FabResolver |
getResolver(java.net.URL url) |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
setConfiguration(Configuration configuration) |
void |
setConfigurationAdmin(org.osgi.service.cm.ConfigurationAdmin configurationAdmin) |
void |
setFeaturesService(org.apache.karaf.features.FeaturesService featuresService) |
void |
setRegistry(ModuleRegistry registry) |
public org.osgi.framework.BundleContext getBundleContext()
getBundleContext in interface ServiceProviderpublic void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public ModuleRegistry getRegistry()
public void setRegistry(ModuleRegistry registry)
public org.osgi.service.cm.ConfigurationAdmin getConfigurationAdmin()
getConfigurationAdmin in interface ServiceProviderpublic void setConfigurationAdmin(org.osgi.service.cm.ConfigurationAdmin configurationAdmin)
public org.apache.karaf.features.FeaturesService getFeaturesService()
getFeaturesService in interface ServiceProviderpublic void setFeaturesService(org.apache.karaf.features.FeaturesService featuresService)
public Configuration getConfiguration()
public void setConfiguration(Configuration configuration)
public FabResolver getResolver(java.net.URL url)
getResolver in interface FabResolverFactoryCopyright © 2014 Red Hat. All Rights Reserved.