@Service(name="restart-local-instance") @PerLookup public class RestartLocalInstanceCommand extends StopLocalInstanceCommand
checkOneAndOnly, domainName, instanceDir, instanceName, isCreateInstanceFilesystem, node, nodeDir, nodeDirChild, nodeDirRootargv, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, WARNING| Constructor and Description |
|---|
RestartLocalInstanceCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
doRemoteCommand()
Execute the actual stop-domain command.
|
protected int |
instanceNotRunning()
Print message and return exit code when
we detect that the DAS is not running.
|
executeCommand, initInstance, mkdirs, validategetDasProperties, getInstallRootPath, getInstanceDirs, getInstanceName, getMasterPasswordFile, getNodeInstallDir, getProductRootPath, isDirectory, setDasDefaults, setInstanceName, setServerDirs, validateDasOptions, whackFilesystemcheckForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, getPrevPid, getServerDirs, getServerPid, getUptime, isLocal, isRemote, isRestartable, isRunning, isRunning, isThisServer, loadAndVerifyKeystore, readFromMasterPasswordFile, resetServerDirs, setLocalPassword, setServerDirs, unsetLocalPassword, verifyMasterPassword, waitForRestartcheckHelp, execute, expandManPage, getBooleanOption, getBriefCommandUsage, getCommand, getCommand, getCommandScope, getCommandUsage, getManPage, getName, getOperandModel, getOption, getOptions, getPassword, getPassword, getProgramOptions, getSystemProperties, getSystemProperty, getUsage, initializeLogger, initializePasswords, inject, ok, parse, postConstruct, prepare, prevalidate, printExceptionStackTrace, processProgramOptions, quote, readPassword, setCommandScope, toString, usageOptionsprotected final int doRemoteCommand()
throws CommandException
StopLocalInstanceCommanddoRemoteCommand in class StopLocalInstanceCommandCommandExceptionprotected int instanceNotRunning()
throws CommandException
StopLocalInstanceCommandinstanceNotRunning in class StopLocalInstanceCommandCommandExceptionCopyright © 2017. All rights reserved.