|
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.SoftwareProcessEntity
brooklyn.entity.osgi.karaf.KarafContainer
class KarafContainer extends SoftwareProcessEntity
This sets up a Karaf OSGi container
| Field Summary | |
|---|---|
static BasicAttributeSensorAndConfigKey |
JMX_CONTEXT
|
static BasicAttributeSensorAndConfigKey |
JMX_PASSWORD
|
static PortAttributeSensorAndConfigKey |
JMX_PORT
|
static BasicAttributeSensorAndConfigKey |
JMX_USER
|
static java.lang.String |
KARAF_ADMIN
|
static java.lang.String |
KARAF_FEATURES
|
static BasicAttributeSensor |
KARAF_INSTALL_LOCATION
|
static BasicAttributeSensor |
KARAF_INSTANCES
|
static BasicAttributeSensor |
KARAF_JAVA_OPTS
|
static BasicAttributeSensorAndConfigKey |
KARAF_NAME
|
static BasicAttributeSensor |
KARAF_PID
|
static BasicAttributeSensor |
KARAF_RMI_REGISTRY_PORT
|
static BasicAttributeSensor |
KARAF_RMI_SERVER_PORT
|
static BasicAttributeSensor |
KARAF_ROOT
|
static BasicAttributeSensor |
KARAF_SSH_PORT
|
static BasicAttributeSensor |
KARAF_STATE
|
static MapConfigKey |
NAMED_PROPERTY_FILES
|
static PortAttributeSensorAndConfigKey |
RMI_PORT
|
static PortAttributeSensorAndConfigKey |
RMI_SERVER_PORT
|
static BasicConfigKey |
SUGGESTED_VERSION
|
protected JmxSensorAdapter |
jmxAdapter
|
| Fields inherited from class SoftwareProcessEntity | |
|---|---|
| ADDRESS, CUSTOMIZE_LATCH, HOSTNAME, INSTALL_LATCH, LAUNCH_LATCH, PROVISIONING_PROPERTIES, SERVICE_STATE, SHELL_ENVIRONMENT, START_LATCH, SUGGESTED_INSTALL_DIR, SUGGESTED_RUN_DIR, SUGGESTED_VERSION, sensorRegistry |
| Fields inherited from class AbstractEntity | |
|---|---|
| LOG, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, application, attributesInternal, configsInternal, execution, managementContext, managementData, subscription, tempWorkings |
| Constructor Summary | |
KarafContainer(java.util.Map properties = [:], Entity owner = null)
|
|
| Method Summary | |
|---|---|
protected void
|
connectSensors()
|
protected void
|
deployConfiguration(java.util.Map propertyFiles)
|
java.lang.Class
|
getDriverInterface()
|
protected java.lang.Object
|
getInstanceAttribute(java.lang.String attribute)
|
void
|
postStart()
|
protected void
|
preStop()
|
| 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 |
|---|
@SetFromFlag("jmxContext")
public static final BasicAttributeSensorAndConfigKey JMX_CONTEXT
@SetFromFlag("jmxPassword")
public static final BasicAttributeSensorAndConfigKey JMX_PASSWORD
@SetFromFlag("jmxPort")
public static final PortAttributeSensorAndConfigKey JMX_PORT
@SetFromFlag("jmxUser")
public static final BasicAttributeSensorAndConfigKey JMX_USER
public static final java.lang.String KARAF_ADMIN
public static final java.lang.String KARAF_FEATURES
public static final BasicAttributeSensor KARAF_INSTALL_LOCATION
public static final BasicAttributeSensor KARAF_INSTANCES
public static final BasicAttributeSensor KARAF_JAVA_OPTS
@SetFromFlag("karafName")
public static final BasicAttributeSensorAndConfigKey KARAF_NAME
public static final BasicAttributeSensor KARAF_PID
public static final BasicAttributeSensor KARAF_RMI_REGISTRY_PORT
public static final BasicAttributeSensor KARAF_RMI_SERVER_PORT
public static final BasicAttributeSensor KARAF_ROOT
public static final BasicAttributeSensor KARAF_SSH_PORT
public static final BasicAttributeSensor KARAF_STATE
public static final MapConfigKey NAMED_PROPERTY_FILES
@Deprecated // since 0.4 use RMI_SERVER_PORT public static final PortAttributeSensorAndConfigKey RMI_PORT
@SetFromFlag("rmiServerPort")
public static final PortAttributeSensorAndConfigKey RMI_SERVER_PORT
@SetFromFlag("version")
public static final BasicConfigKey SUGGESTED_VERSION
protected JmxSensorAdapter jmxAdapter
| Constructor Detail |
|---|
KarafContainer(java.util.Map properties = [:], Entity owner = null)
| Method Detail |
|---|
@Override protected void connectSensors()
protected void deployConfiguration(java.util.Map propertyFiles)
@Override java.lang.Class getDriverInterface()
protected java.lang.Object getInstanceAttribute(java.lang.String attribute)
@Override void postStart()
@Override protected void preStop()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.