|
|||||||||
| 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.cli.LocalServerCommand
com.sun.enterprise.admin.cli.cluster.LocalInstanceCommand
com.sun.enterprise.admin.cli.cluster.StopLocalInstanceCommand
com.sun.enterprise.admin.cli.cluster.RestartLocalInstanceCommand
@Service(name="restart-local-instance") @Scoped(value=org.jvnet.hk2.component.PerLookup.class) public class RestartLocalInstanceCommand
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.admin.cli.cluster.LocalInstanceCommand |
|---|
checkOneAndOnly, domainName, instanceDir, instanceName, isCreateInstanceFilesystem, node, nodeDir, nodeDirChild, nodeDirRoot |
| 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 | |
|---|---|
RestartLocalInstanceCommand()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sun.enterprise.admin.cli.cluster.StopLocalInstanceCommand |
|---|
executeCommand, initInstance, mkdirs, validate |
| Methods inherited from class com.sun.enterprise.admin.cli.cluster.LocalInstanceCommand |
|---|
getDasProperties, getInstallRootPath, getInstanceDirs, getMasterPasswordFile, getNodeInstallDir, getProductRootPath, isDirectory, setDasDefaults, setServerDirs, validateDasOptions, whackFilesystem |
| Methods inherited from class com.sun.enterprise.admin.cli.LocalServerCommand |
|---|
checkForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, 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, getCommand, getManPage, getName, getOperandModel, getOption, getPassword, getProgramOptions, getSystemProperties, getSystemProperty, getUsage, initializeLogger, initializePasswords, inject, ok, parse, postConstruct, prepare, 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 RestartLocalInstanceCommand()
| Method Detail |
|---|
protected final int doRemoteCommand()
throws CommandException
StopLocalInstanceCommand
doRemoteCommand in class StopLocalInstanceCommandCommandException
protected int instanceNotRunning()
throws CommandException
StopLocalInstanceCommand
instanceNotRunning in class StopLocalInstanceCommandCommandException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||