|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyObjectSupport
brooklyn.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
|
protected static Logger |
LOG
|
static java.lang.String |
OSGI_BUNDLE_STATE
|
static java.lang.String |
OSGI_COMPENDIUM
|
static java.lang.String |
OSGI_FRAMEWORK
|
protected JmxSensorAdapter |
jmxAdapter
|
protected JmxHelper |
jmxHelper
|
Fields inherited from class SoftwareProcessImpl | |
---|---|
sensorRegistry |
Fields inherited from class AbstractEntity | |
---|---|
LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, attributesInternal, configsInternal, managementSupport, tempWorkings |
Constructor Summary | |
KarafContainerImpl()
|
|
KarafContainerImpl(java.util.Map properties)
|
|
KarafContainerImpl(Entity parent)
|
|
KarafContainerImpl(java.util.Map properties, Entity parent)
|
Method Summary | |
---|---|
protected void
|
connectSensors()
|
KarafDriver
|
getDriver()
|
java.lang.Class
|
getDriverInterface()
|
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)
|
Methods inherited from class groovy.lang.GroovyObjectSupport | |
---|---|
groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll() |
Field Detail |
---|
public static final java.lang.String KARAF_ADMIN
public static final java.lang.String KARAF_FEATURES
protected static final Logger LOG
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 JmxSensorAdapter jmxAdapter
protected JmxHelper jmxHelper
Constructor Detail |
---|
public KarafContainerImpl()
public KarafContainerImpl(java.util.Map properties)
public KarafContainerImpl(Entity parent)
public KarafContainerImpl(java.util.Map properties, Entity parent)
Method Detail |
---|
protected void connectSensors() { protected void connectSensors()
public KarafDriver getDriver() { public KarafDriver getDriver()
public ClassgetDriverInterface() { public java.lang.Class getDriverInterface()
// - dropping file into $RUN_DIR/deploy (but that would be async) public long installBundle(uri = new URI(bundle); java.lang.String bundle)
return true; public void installFeature( java.lang.String featureName)
public java.util.Map listBundles()
jmxHelper.connect(JmxSensorAdapter.JMX_CONNECTION_TIMEOUT_MS); protected void postDriverStart()
protected void preStop()
} public void uninstallBundle(d void uploadPropertyFiles(M ap> pro java.lang.Long bundleId)
try { public void updateServiceProperties(String key = entry.getKey() ; 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.