@Service(name="restart-domain") @PerLookup public class RestartDomainCommand extends StopDomainCommand
domainDirParamargv, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, WARNING| Constructor and Description |
|---|
RestartDomainCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
dasNotRunning()
If the server isn't running, try to start it.
|
protected void |
doCommand()
Execute the restart-domain command.
|
executeCommand, initDomain, kill, validate, waitForDeathgetDomainName, getDomainRootDir, getDomainsDir, isThisDAS, prepare, setDomainNamecheckForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, getMasterPasswordFile, 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, prevalidate, printExceptionStackTrace, processProgramOptions, quote, readPassword, setCommandScope, toString, usageOptionsprotected void doCommand()
throws CommandException
doCommand in class StopDomainCommandCommandExceptionprotected int dasNotRunning()
throws CommandException
dasNotRunning in class StopDomainCommandCommandExceptionCopyright © 2017. All rights reserved.