@Service(name="restart-domain") @PerLookup public class RestartDomainCommand extends StopDomainCommand
domainDirParam| 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, 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 org.glassfish.api.admin.CommandException
doCommand in class StopDomainCommandorg.glassfish.api.admin.CommandExceptionprotected int dasNotRunning()
throws org.glassfish.api.admin.CommandException
dasNotRunning in class StopDomainCommandorg.glassfish.api.admin.CommandExceptionCopyright © 2015. All rights reserved.