public class RunnerHttpRedeploy extends RunnerHttp
redeploy
Admin Command Execution
using HTTP interface.
Class implements GlassFish server administration functionality trough HTTP
interface.
Modifier and Type | Field and Description |
---|---|
(package private) CommandRedeploy |
command
Holding data for command execution.
|
private static String |
CTXROOT_PARAM
Deploy command
contextroot parameter name. |
private static String |
KEEP_STATE_PARAM
Deploy command
keepState parameter name. |
private static String |
LIBRARIES_PARAM
Deploy command
libraries parameter name. |
private static String |
NAME_PARAM
Deploy command
name parameter name. |
private static String |
PROPERTIES_PARAM
Deploy command
properties parameter name. |
private static String |
TARGET_PARAM
Deploy command
target parameter name. |
LIBRARY_SEPARATOR, manifest, result
auth, FALSE_VALUE, HTTP_CONNECTION_TIMEOUT, HTTP_RETRY_DELAY, ITEM_SEPARATOR, PARAM_ASSIGN_VALUE, PARAM_SEPARATOR, path, query, QUERY_SEPARATOR, retry, server, silentFailureAllowed, stateListeners, TRUE_VALUE
Constructor and Description |
---|
RunnerHttpRedeploy(GlassFishServer server,
Command command)
Constructs an instance of administration command executor using
HTTP interface.
|
Modifier and Type | Method and Description |
---|---|
private static String |
query(Command command)
Builds redeploy query string for given command.
|
acceptsGzip, constructCommandUrl, createResult, getDoOutput, getExtraProperties, getLastModified, getRequestMethod, handleSend, prepareHttpConnection, processResponse, queryLibrariesAppend, queryLibrariesLength, queryPropertiesAppend, queryPropertiesLength, readResponse
call, execute, execute, getCommand, getCommandWithQuery, getContentType, getQuery, getResult, handleReceive, handleSecureConnection, handleStateChange, isSilentFailureAllowed, parallelExecutor, serializedExecutor, setReadyState, setSilentFailureAllowed, setStateListeners, stateChangeArgs, stateChangeArgs, toBoolean, toString
private static final String TARGET_PARAM
target
parameter name.private static final String NAME_PARAM
name
parameter name.private static final String CTXROOT_PARAM
contextroot
parameter name.private static final String PROPERTIES_PARAM
properties
parameter name.private static final String LIBRARIES_PARAM
libraries
parameter name.private static final String KEEP_STATE_PARAM
keepState
parameter name.final CommandRedeploy command
public RunnerHttpRedeploy(GlassFishServer server, Command command)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.private static String query(Command command)
QUERY :: "DEFAULT" '=' <path>
['&' "name" '=' <name> ]
['&' "target" '=' <target> ]
['&' "contextroot" '=' <contextRoot> ]
['&' "keepState" '=' true | false ]
['&' "properties" '=' <pname> '=' <pvalue>
{ ':' <pname> '=' <pvalue>} ]
['&' "libraries" '=' <lname> '=' <lvalue>
{ ':' <lname> '=' <lvalue>} ]
command
- GlassFish server administration deploy command entity.Copyright © 2013. All Rights Reserved.