|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.admin.cli.CLICommand
com.sun.enterprise.admin.servermgmt.cli.LocalServerCommand
com.sun.enterprise.admin.servermgmt.cli.LocalDomainCommand
com.sun.enterprise.admin.servermgmt.cli.StopDomainCommand
com.sun.enterprise.admin.servermgmt.cli.RestartDomainCommand
@Service(name="restart-domain") @Scoped(value=org.jvnet.hk2.component.PerLookup.class) public class RestartDomainCommand
THe restart-domain command. The local portion of this command is only used to block until:
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.admin.servermgmt.cli.LocalDomainCommand |
|---|
domainDirParam |
| Fields inherited from class com.sun.enterprise.admin.cli.CLICommand |
|---|
argv, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, WARNING |
| Constructor Summary | |
|---|---|
RestartDomainCommand()
|
|
| Method Summary | |
|---|---|
protected int |
dasNotRunning(boolean local)
If the server isn't running, try to start it. |
protected void |
doCommand()
Execute the restart-domain command. |
| Methods inherited from class com.sun.enterprise.admin.servermgmt.cli.StopDomainCommand |
|---|
executeCommand, initDomain, validate, waitForDeath |
| Methods inherited from class com.sun.enterprise.admin.servermgmt.cli.LocalDomainCommand |
|---|
getDomainName, getDomainRootDir, getDomainsDir, isThisDAS, prepare, setDomainName |
| Methods inherited from class com.sun.enterprise.admin.servermgmt.cli.LocalServerCommand |
|---|
checkForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, getMasterPasswordFile, getPrevPid, getServerDirs, getUptime, isRestartable, isRunning, isRunning, isRunning, isThisServer, loadAndVerifyKeystore, readFromMasterPasswordFile, resetServerDirs, setLocalPassword, setServerDirs, unsetLocalPassword, verifyMasterPassword, waitForRestart |
| Methods inherited from class com.sun.enterprise.admin.cli.CLICommand |
|---|
checkHelp, execute, getBooleanOption, getBriefCommandUsage, getCommand, getCommandUsage, getManPage, getName, getOperandModel, getOption, getPassword, getProgramOptions, getSystemProperties, getSystemProperty, getUsage, initializeLogger, initializePasswords, inject, ok, parse, postConstruct, prevalidate, printExceptionStackTrace, processProgramOptions, quote, readPassword, toString, usageOptions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RestartDomainCommand()
| Method Detail |
|---|
protected void doCommand()
throws CommandException
doCommand in class StopDomainCommandCommandException
protected int dasNotRunning(boolean local)
throws CommandException
dasNotRunning in class StopDomainCommandCommandException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||