public class DeployHandler extends BatchModeCommandHandler
headers, params, requiredAddresshelpArg| Constructor and Description |
|---|
DeployHandler(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.dmr.ModelNode |
buildAddRequest(CommandContext ctx,
File f,
String name,
String runtimeName) |
protected org.jboss.dmr.ModelNode |
buildDeploymentAdd(File f,
String name,
String runtimeName) |
protected org.jboss.dmr.ModelNode |
buildDeploymentReplace(File f,
String name,
String runtimeName) |
protected org.jboss.dmr.ModelNode |
buildReadDeploymentResourceRequest(String name) |
org.jboss.dmr.ModelNode |
buildRequest(CommandContext ctx) |
protected void |
doHandle(CommandContext ctx) |
protected void |
execute(CommandContext ctx,
org.jboss.dmr.ModelNode request,
File f) |
protected org.jboss.dmr.ModelNode |
getDeploymentDescriptions(CommandContext ctx,
List<String> names) |
protected void |
listDeployments(CommandContext ctx,
boolean l) |
protected byte[] |
readBytes(File f) |
protected void |
replaceDeployment(CommandContext ctx,
File f,
String name,
String runtimeName) |
isBatchModeaddArgument, addHeaders, addRequiredPath, addRequiredPath, cliEvent, getRequiredAddress, getRequiredType, handleResponse, isAvailable, isDependsOnProfile, setParamshandle, printHelp, printListgetArguments, hasArgument, hasArgumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArguments, handle, hasArgument, hasArgumentpublic DeployHandler(CommandContext ctx)
protected void doHandle(CommandContext ctx) throws CommandFormatException
doHandle in class BaseOperationCommandCommandFormatExceptionpublic org.jboss.dmr.ModelNode buildRequest(CommandContext ctx) throws CommandFormatException
CommandFormatExceptionprotected org.jboss.dmr.ModelNode buildDeploymentReplace(File f, String name, String runtimeName) throws OperationFormatException
OperationFormatExceptionprotected org.jboss.dmr.ModelNode buildDeploymentAdd(File f, String name, String runtimeName) throws OperationFormatException
OperationFormatExceptionprotected void execute(CommandContext ctx, org.jboss.dmr.ModelNode request, File f)
protected org.jboss.dmr.ModelNode buildAddRequest(CommandContext ctx, File f, String name, String runtimeName)
protected void replaceDeployment(CommandContext ctx, File f, String name, String runtimeName)
protected byte[] readBytes(File f) throws OperationFormatException
OperationFormatExceptionprotected void listDeployments(CommandContext ctx, boolean l) throws CommandFormatException
CommandFormatExceptionprotected org.jboss.dmr.ModelNode getDeploymentDescriptions(CommandContext ctx, List<String> names) throws CommandFormatException
CommandFormatExceptionprotected org.jboss.dmr.ModelNode buildReadDeploymentResourceRequest(String name)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.