public class RunnerAsadminChangeAdminPassword extends RunnerAsadmin
Modifier and Type | Field and Description |
---|---|
(package private) CommandChangeAdminPassword |
command
Holding data for command execution.
|
private static String |
DOMAIN_NAME_PARAM
Specifies the domain of the administrator user.
|
private static String |
DOMAINDIR_PARAM
Specifies the parent directory of the domain specified
in the --domain_name option.
|
private static Logger |
LOGGER
Logger instance for this class.
|
passwordFile, processIO, result, stdErr, stdIn, stdOut
JAR_PARAM, javaVMExe, PARAM_ASSIGN_VALUE, PARAM_SEPARATOR, QUERY_SEPARATOR
auth, FALSE_VALUE, HTTP_CONNECTION_TIMEOUT, HTTP_RETRY_DELAY, ITEM_SEPARATOR, path, query, retry, server, silentFailureAllowed, stateListeners, TRUE_VALUE
Constructor and Description |
---|
RunnerAsadminChangeAdminPassword(GlassFishServer server,
Command command)
Constructs an instance of administration command executor using
command line asadmin interface.
|
Modifier and Type | Method and Description |
---|---|
protected ProcessIOContent |
createProcessIOContent()
Create internal
ProcessIOContent object corresponding
to command execution IO. |
private static String |
query(GlassFishServer server,
Command command)
Builds
change-admin-password command query string. |
buildProcessArgs, call, createResult, execute, execute, processResponse, readResponse
acceptsGzip, constructCommandUrl, getDoOutput, getJavaSEConfig, getRequestMethod, getServerConfig, handleSend, setJavaEnvironment, setProcessCurrentDir, verifyJavaVM
getCommand, getCommandWithQuery, getContentType, getQuery, getResult, handleReceive, handleSecureConnection, handleStateChange, isSilentFailureAllowed, parallelExecutor, prepareHttpConnection, serializedExecutor, setReadyState, setSilentFailureAllowed, setStateListeners, stateChangeArgs, stateChangeArgs, toBoolean, toString
private static final Logger LOGGER
private static final String DOMAIN_NAME_PARAM
private static final String DOMAINDIR_PARAM
final CommandChangeAdminPassword command
public RunnerAsadminChangeAdminPassword(GlassFishServer server, Command command)
server
- GlassFish server entity object.command
- GlassFish server administration command entity.private static String query(GlassFishServer server, Command command)
change-admin-password
command query string.protected ProcessIOContent createProcessIOContent()
ProcessIOContent
object corresponding
to command execution IO.createProcessIOContent
in class RunnerAsadmin
Copyright © 2013. All Rights Reserved.