org.apache.karaf.deployer.features
Class FeatureDeploymentListener
java.lang.Object
org.apache.karaf.deployer.features.FeatureDeploymentListener
- All Implemented Interfaces:
- java.util.EventListener, org.apache.felix.fileinstall.ArtifactListener, org.apache.felix.fileinstall.ArtifactUrlTransformer, org.osgi.framework.BundleListener
public class FeatureDeploymentListener
- extends java.lang.Object
- implements org.apache.felix.fileinstall.ArtifactUrlTransformer, org.osgi.framework.BundleListener
A deployment listener able to hot deploy a feature descriptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FEATURE_PATH
public static final java.lang.String FEATURE_PATH
- See Also:
- Constant Field Values
FeatureDeploymentListener
public FeatureDeploymentListener()
setFeaturesService
public void setFeaturesService(FeaturesService featuresService)
getFeaturesService
public FeaturesService getFeaturesService()
getBundleContext
public org.osgi.framework.BundleContext getBundleContext()
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
init
public void init()
throws Exception
- Throws:
Exception
destroy
public void destroy()
throws Exception
- Throws:
Exception
canHandle
public boolean canHandle(java.io.File artifact)
- Specified by:
canHandle
in interface org.apache.felix.fileinstall.ArtifactListener
transform
public java.net.URL transform(java.net.URL artifact)
- Specified by:
transform
in interface org.apache.felix.fileinstall.ArtifactUrlTransformer
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent bundleEvent)
- Specified by:
bundleChanged
in interface org.osgi.framework.BundleListener
parse
protected org.w3c.dom.Document parse(java.io.File artifact)
throws Exception
- Throws:
Exception
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.