|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.entity.java.UsesJavabrooklyn.entity.trait.Startable
brooklyn.entity.osgi.karaf.KarafContainer
brooklyn.entity.rebind.Rebindable
brooklyn.entity.Entity
brooklyn.entity.basic.SoftwareProcess
brooklyn.entity.java.UsesJmx
brooklyn.entity.trait.Identifiable
@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 | |
---|---|
CHECK_JAVA_HOSTNAME_BUG, JAVA_OPTS, JAVA_SYSPROPS |
Fields inherited from interface UsesJmx | |
---|---|
DEFAULT_JMX_PORT, JMX_AGENT_MODE, JMX_CONTEXT, JMX_PASSWORD, JMX_PORT, JMX_SSL_ACCESS_CERT, JMX_SSL_ACCESS_KEY, JMX_SSL_ENABLED, JMX_URL, JMX_USER, RMI_REGISTRY_PORT, RMI_SERVER_PORT, USE_JMX |
Fields inherited from interface UsesJava | |
---|---|
CHECK_JAVA_HOSTNAME_BUG, 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 |
---|
public static final BasicAttributeSensorAndConfigKeyDOWNLOAD_URL = new BasicAttributeSensorAndConfigKey ( 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 MethodEffector INSTALL_BUNDLE
public static final MethodEffector INSTALL_FEATURE
UsesJmx.JMX_CONTEXT, "karaf-"+KARAF_NAME.getConfigKey().getDefaultValue()); public static final BasicAttributeSensorAndConfigKey JMX_CONTEXT
UsesJmx.JMX_PASSWORD, "karaf"); public static final BasicAttributeSensorAndConfigKey JMX_PASSWORD
UsesJmx.JMX_PORT, "44444+"); public static final PortAttributeSensorAndConfigKey JMX_PORT
UsesJmx.JMX_USER, "karaf"); 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
public static final BasicAttributeSensorAndConfigKeyKARAF_NAME = new BasicAttributeSensorAndConfigKey ( 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 MethodEffector LIST_BUNDLES
public static final java.lang.String MVN_SCHEME
public static final MapConfigKey NAMED_PROPERTY_FILES
public static final PortAttributeSensorAndConfigKey RMI_PORT
@SetFromFlag("rmiServerPort") public static final PortAttributeSensorAndConfigKey RMI_REGISTRY_PORT
public static final PortAttributeSensorAndConfigKey RMI_SERVER_PORT = RMI_REGISTRY_PORT; /* @deprecated since 0.4 use RMI_REGISTRY_PORT */ @Deprecated public static final PortAttributeSensorAndConfigKey RMI_SERVER_PORT
public static final ConfigKeySUGGESTED_VERSION = ConfigKeys.newConfigKeyWithDefault( public static final ConfigKey SUGGESTED_VERSION
public static final MethodEffector UNINSTALL_BUNDLE
public static final MethodEffector UPDATE_SERVICE_PROPERTIES
public static final java.lang.String WRAP_SCHEME
Method Detail |
---|
@EffectorParam(name="bundle", description="URI of bundle to be deployed") String bundle) throws URISyntaxException; public long installBundle(r(description="Undeploys the bundle with the given id") java.lang.String bundle)
@EffectorParam(name="featureName", description="Name of the feature - see org.apache.karaf:type=features#installFeature()") final String featureName) public void installFeature( java.lang.String featureName)
public java.util.Map listBundles()
@EffectorParam(name="bundleId", description="Id of the bundle") Long bundleId); } public void uninstallBundle( java.lang.Long bundleId)
@EffectorParam(name="serviceName", description="Name of the OSGi service") String serviceName, public void updateServiceProperties( java.lang.String serviceName, java.util.Map additionalVals)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.