| 
 | Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbrooklyn.entity.basic.AbstractEntity
brooklyn.entity.basic.SoftwareProcessImpl
brooklyn.entity.osgi.karaf.KarafContainerImpl
public class KarafContainerImpl extends SoftwareProcessImpl
This sets up a Karaf OSGi container
| Field Summary | |
|---|---|
| static java.lang.String | KARAF_ADMIN | 
| static java.lang.String | KARAF_FEATURES | 
| static java.lang.String | OSGI_BUNDLE_STATE | 
| static java.lang.String | OSGI_COMPENDIUM | 
| static java.lang.String | OSGI_FRAMEWORK | 
| protected JmxHelper | jmxHelper | 
| Fields inherited from class SoftwareProcessImpl | |
|---|---|
| connectedSensors | 
| Fields inherited from class AbstractEntity | |
|---|---|
| EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, managementSupport, tempWorkings | 
| Constructor Summary | |
| KarafContainerImpl() | |
| Method Summary | |
|---|---|
| protected void | connectSensors() | 
| protected void | disconnectSensors() | 
| KarafDriver | getDriver() | 
| java.lang.Class | getDriverInterface() | 
| void | init() | 
| long | installBundle(java.lang.String bundle)throws URISyntaxException If bundle name is not a valid URI | 
| void | installFeature(java.lang.String featureName) | 
| java.util.Map | listBundles() | 
| protected void | postDriverStart() | 
| protected void | preStop() | 
| void | uninstallBundle(java.lang.Long bundleId) | 
| void | updateServiceProperties(java.lang.String serviceName, java.util.Map additionalVals) | 
| protected void | uploadPropertyFiles(java.util.Map propertyFiles) | 
| Field Detail | 
|---|
public static final java.lang.String KARAF_ADMIN
public static final java.lang.String KARAF_FEATURES
public static final java.lang.String OSGI_BUNDLE_STATE
public static final java.lang.String OSGI_COMPENDIUM
public static final java.lang.String OSGI_FRAMEWORK
protected JmxHelper jmxHelper
| Constructor Detail | 
|---|
public KarafContainerImpl()
| Method Detail | 
|---|
super.connectSensors(); protected void connectSensors()
protected void preStop() {
protected void disconnectSensors()
        
public KarafDriver getDriver() {
public KarafDriver getDriver()
        
public ClassgetDriverInterface() { public java.lang.Class getDriverInterface() 
public void init() {
public void init()
        
public long installBundle(ean wrap = false; java.lang.String bundle)
.limitIterationsTo(40) public void installFeature(.until(new Callable() { java.lang.String featureName) 
public java.util.Map listBundles()
protected void postDriverStart() {
protected void postDriverStart()
        
@Effector(description="Updates the OSGi Service's properties, adding (and overriding) the given key-value pairs") protected void preStop()
public void uninstallBundle(propertyFiles == null) return; java.lang.Long bundleId)
for (Map.Entryentry: additionalVals.entrySet()) { public void updateServiceProperties(String value = entry.getValue(); java.lang.String serviceName, java.util.Map additionalVals) 
protected void uploadPropertyFiles(java.util.Map propertyFiles)
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.