public class DeploymentJBossASClient extends JBossASClient
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT |
static String |
ENABLED |
static String |
PATH |
static String |
SUBSYSTEM_DEPLOYMENT |
ADD, ADDRESS, BATCH, BATCH_STEPS, FAILURE_DESCRIPTION, log, NAME, OPERATION, OUTCOME, OUTCOME_SUCCESS, PERSISTENT, READ_ATTRIBUTE, READ_RESOURCE, REMOVE, RESULT, SUBSYSTEM, SYSTEM_PROPERTY, VALUE, WRITE_ATTRIBUTE| Constructor and Description |
|---|
DeploymentJBossASClient(org.jboss.as.controller.client.ModelControllerClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableDeployment(String name) |
void |
enableDeployment(String name) |
String |
getDeploymentPath(String name)
Given the name of a deployment, this returns where the deployment is (specifically,
it returns the PATH of the deployment).
|
boolean |
isDeployment(String name)
Checks to see if there is already a deployment with the given name.
|
boolean |
isDeploymentEnabled(String name) |
createBatchRequest, createReadAttributeRequest, createReadAttributeRequest, createRequest, createRequest, createWriteAttributeRequest, execute, findNodeInList, getFailureDescription, getModelControllerClient, getResultListAsStrings, getResults, getStringAttribute, getStringAttribute, isSuccess, readResource, readResource, remove, setPossibleExpressionpublic static final String SUBSYSTEM_DEPLOYMENT
public static final String ENABLED
public static final String CONTENT
public static final String PATH
public DeploymentJBossASClient(org.jboss.as.controller.client.ModelControllerClient client)
public boolean isDeployment(String name) throws Exception
name - the deployment name to checkExceptionpublic boolean isDeploymentEnabled(String name) throws Exception
Exceptionpublic String getDeploymentPath(String name) throws Exception
name - the name of the deploymentExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.