public class FeatureDeploymentListener extends Object implements org.apache.felix.fileinstall.ArtifactUrlTransformer, org.osgi.framework.BundleListener
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_PATH |
| Constructor and Description |
|---|
FeatureDeploymentListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent bundleEvent) |
boolean |
canHandle(File artifact) |
void |
destroy() |
org.osgi.framework.BundleContext |
getBundleContext() |
org.apache.karaf.features.FeaturesService |
getFeaturesService() |
void |
init() |
protected Document |
parse(File artifact) |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
setFeaturesService(org.apache.karaf.features.FeaturesService featuresService) |
URL |
transform(URL artifact) |
public static final String FEATURE_PATH
public void setFeaturesService(org.apache.karaf.features.FeaturesService featuresService)
public org.apache.karaf.features.FeaturesService getFeaturesService()
public org.osgi.framework.BundleContext getBundleContext()
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public void destroy()
public boolean canHandle(File artifact)
canHandle in interface org.apache.felix.fileinstall.ArtifactListenerpublic URL transform(URL artifact)
transform in interface org.apache.felix.fileinstall.ArtifactUrlTransformerpublic void bundleChanged(org.osgi.framework.BundleEvent bundleEvent)
bundleChanged in interface org.osgi.framework.BundleListenerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.