@Service(name="stop-domain") @PerLookup public class StopDomainCommand extends LocalDomainCommand
domainDirParam| Constructor and Description |
|---|
StopDomainCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
dasNotRunning()
Print message and return exit code when
we detect that the DAS is not running.
|
protected void |
doCommand()
Execute the actual stop-domain command.
|
protected int |
executeCommand() |
protected void |
initDomain()
Override initDomain in LocalDomainCommand to only initialize
the local domain information (name, directory) in the local
case, when no --host has been specified.
|
protected void |
validate() |
protected void |
waitForDeath()
Wait for the server to die.
|
getDomainName, 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 validate()
throws org.glassfish.api.admin.CommandException
validate in class LocalDomainCommandorg.glassfish.api.admin.CommandExceptionprotected void initDomain()
throws org.glassfish.api.admin.CommandException
initDomain in class LocalDomainCommandorg.glassfish.api.admin.CommandExceptionprotected int executeCommand()
throws org.glassfish.api.admin.CommandException
executeCommand in class com.sun.enterprise.admin.cli.CLICommandorg.glassfish.api.admin.CommandExceptionprotected int dasNotRunning()
throws org.glassfish.api.admin.CommandException
org.glassfish.api.admin.CommandExceptionprotected void doCommand()
throws org.glassfish.api.admin.CommandException
org.glassfish.api.admin.CommandExceptionprotected void waitForDeath()
throws org.glassfish.api.admin.CommandException
org.glassfish.api.admin.CommandExceptionCopyright © 2015. All rights reserved.