|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.entity.Entitybrooklyn.entity.java.UsesJava
brooklyn.entity.basic.SoftwareProcess
brooklyn.entity.trait.Startable
brooklyn.entity.osgi.karaf.KarafContainer
brooklyn.entity.java.UsesJmx
brooklyn.entity.rebind.Rebindable
@Catalog(name="Karaf", description="Apache Karaf is a small OSGi based runtime which provides a lightweight container onto which various components and applications can be deployed.", iconUrl="classpath:///karaf-logo.png") @ImplementedBy(KarafContainerImpl.class) public interface KarafContainer extends SoftwareProcess, UsesJava, UsesJmx
This sets up a Karaf OSGi container
Fields inherited from interface UsesJava | |
---|---|
JAVA_OPTIONS, JAVA_OPTS, JAVA_SYSPROPS |
Fields inherited from interface UsesJmx | |
---|---|
DEFAULT_JMX_PORT, JMX_CONTEXT, JMX_PORT, JMX_SSL_ACCESS_CERT, JMX_SSL_ACCESS_KEY, JMX_SSL_ENABLED, JMX_URL, RMI_PORT, RMI_REGISTRY_PORT, RMI_SERVER_PORT, USE_JMX |
Fields inherited from interface UsesJava | |
---|---|
JAVA_OPTIONS, JAVA_OPTS, JAVA_SYSPROPS |
Method Summary | |
---|---|
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()
|
void
|
uninstallBundle(java.lang.Long bundleId)
|
void
|
updateServiceProperties(java.lang.String serviceName, java.util.Map additionalVals)
|
Field Detail |
---|
@SetFromFlag("downloadUrl") public static final BasicAttributeSensorAndConfigKey DOWNLOAD_URL
public static final java.lang.String FILE_SCHEME
public static final java.lang.String HTTP_SCHEME
public static final Effector INSTALL_BUNDLE
public static final Effector INSTALL_FEATURE
@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 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 Effector LIST_BUNDLES
public static final java.lang.String MVN_SCHEME
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
public static final Effector UNINSTALL_BUNDLE
public static final Effector UPDATE_SERVICE_PROPERTIES
public static final java.lang.String WRAP_SCHEME
Method Detail |
---|
@Description("Deploys the given bundle, returning the bundle id - see osgi.core:type=framework#installBundle()") public long installBundle(@NamedParameter("bundle") @Description("URI of bundle to be deployed") java.lang.String bundle)
@Description("Installs the given OSGi feature") public void installFeature(@NamedParameter("featureName") @Description("Name of the feature - see org.apache.karaf:type=features#installFeature()") java.lang.String featureName)
@Description("Lists all the karaf bundles") public java.util.Map listBundles()
@Description("Undeploys the bundle with the given id") public void uninstallBundle(@NamedParameter("bundleId") @Description("Id of the bundle") java.lang.Long bundleId)
@Description("Updates the OSGi Service's properties, adding (and overriding) the given key-value pairs") public void updateServiceProperties(@NamedParameter("serviceName") @Description("Name of the OSGi service") java.lang.String serviceName, java.util.Map additionalVals)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.