public final class FrameworkManagement extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
activateFramework(org.jboss.as.controller.client.ModelControllerClient client) |
static void |
addCapability(org.jboss.as.controller.client.ModelControllerClient client,
String name,
Integer startLevel) |
static void |
addProperty(org.jboss.as.controller.client.ModelControllerClient client,
String name,
String value) |
static void |
bundleStart(org.jboss.as.controller.client.ModelControllerClient client,
Object resId) |
static void |
bundleStop(org.jboss.as.controller.client.ModelControllerClient client,
Object resId) |
static String |
getActivationMode(org.jboss.as.controller.client.ModelControllerClient client) |
static Long |
getBundleId(org.jboss.as.controller.client.ModelControllerClient client,
String symbolicName,
org.osgi.framework.Version version) |
static org.jboss.dmr.ModelNode |
getBundleInfo(org.jboss.as.controller.client.ModelControllerClient client,
Object resId) |
static String |
getBundleState(org.jboss.as.controller.client.ModelControllerClient client,
Object resId) |
static Integer |
getFrameworkStartLevel(org.jboss.as.controller.client.ModelControllerClient client) |
static List<Long> |
listBundleIDs(org.jboss.as.controller.client.ModelControllerClient client) |
static List<String> |
listCapabilities(org.jboss.as.controller.client.ModelControllerClient client) |
static List<String> |
listProperties(org.jboss.as.controller.client.ModelControllerClient client) |
static String |
readProperty(org.jboss.as.controller.client.ModelControllerClient client,
String name) |
static void |
removeCapability(org.jboss.as.controller.client.ModelControllerClient client,
String name) |
static void |
removeProperty(org.jboss.as.controller.client.ModelControllerClient client,
String name) |
static void |
setActivationMode(org.jboss.as.controller.client.ModelControllerClient client,
String mode) |
static void |
setFrameworkStartLevel(org.jboss.as.controller.client.ModelControllerClient client,
int i) |
public static void activateFramework(org.jboss.as.controller.client.ModelControllerClient client)
throws Exception
Exceptionpublic static String getActivationMode(org.jboss.as.controller.client.ModelControllerClient client) throws Exception
Exceptionpublic static void setActivationMode(org.jboss.as.controller.client.ModelControllerClient client,
String mode)
throws Exception
Exceptionpublic static Integer getFrameworkStartLevel(org.jboss.as.controller.client.ModelControllerClient client) throws Exception
Exceptionpublic static void setFrameworkStartLevel(org.jboss.as.controller.client.ModelControllerClient client,
int i)
throws Exception
Exceptionpublic static void bundleStart(org.jboss.as.controller.client.ModelControllerClient client,
Object resId)
throws Exception
Exceptionpublic static void bundleStop(org.jboss.as.controller.client.ModelControllerClient client,
Object resId)
throws Exception
Exceptionpublic static List<Long> listBundleIDs(org.jboss.as.controller.client.ModelControllerClient client) throws Exception
Exceptionpublic static Long getBundleId(org.jboss.as.controller.client.ModelControllerClient client, String symbolicName, org.osgi.framework.Version version) throws Exception
Exceptionpublic static String getBundleState(org.jboss.as.controller.client.ModelControllerClient client, Object resId) throws Exception
Exceptionpublic static org.jboss.dmr.ModelNode getBundleInfo(org.jboss.as.controller.client.ModelControllerClient client,
Object resId)
throws Exception
Exceptionpublic static void addCapability(org.jboss.as.controller.client.ModelControllerClient client,
String name,
Integer startLevel)
throws Exception
Exceptionpublic static List<String> listCapabilities(org.jboss.as.controller.client.ModelControllerClient client) throws Exception
Exceptionpublic static void removeCapability(org.jboss.as.controller.client.ModelControllerClient client,
String name)
throws Exception
Exceptionpublic static void addProperty(org.jboss.as.controller.client.ModelControllerClient client,
String name,
String value)
throws Exception
Exceptionpublic static List<String> listProperties(org.jboss.as.controller.client.ModelControllerClient client) throws Exception
Exceptionpublic static String readProperty(org.jboss.as.controller.client.ModelControllerClient client, String name) throws Exception
ExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.