public class FeaturesEventHandler extends FeaturesSupport implements org.apache.karaf.cellar.core.event.EventHandler<ClusterFeaturesEvent>
| Modifier and Type | Field and Description |
|---|---|
static String |
SWITCH_ID |
featuresService| Constructor and Description |
|---|
FeaturesEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
org.apache.karaf.cellar.core.control.Switch |
getSwitch() |
Class<ClusterFeaturesEvent> |
getType() |
void |
handle(ClusterFeaturesEvent event)
Handle received cluster features event.
|
void |
init() |
getFeaturesService, isFeatureInstalledLocally, isRepositoryRegisteredLocally, pushFeature, pushFeature, pushRepository, removeRepository, setFeaturesServicepublic static final String SWITCH_ID
public void init()
init in class FeaturesSupportpublic void destroy()
destroy in class FeaturesSupportpublic void handle(ClusterFeaturesEvent event)
handle in interface org.apache.karaf.cellar.core.event.EventHandler<ClusterFeaturesEvent>event - the received cluster features event.public Class<ClusterFeaturesEvent> getType()
getType in interface org.apache.karaf.cellar.core.Handler<ClusterFeaturesEvent>public org.apache.karaf.cellar.core.control.Switch getSwitch()
getSwitch in interface org.apache.karaf.cellar.core.Handler<ClusterFeaturesEvent>Copyright © 2013 The Apache Software Foundation. All Rights Reserved.