|
|||||||||
| 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.LocalDomainCommand
com.sun.enterprise.admin.cli.optional.ListDomainsCommand
@Service(name="list-domains") @Scoped(value=org.jvnet.hk2.component.PerLookup.class) public final class ListDomainsCommand
This is a local command that lists the domains.
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.admin.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 | |
|---|---|
ListDomainsCommand()
|
|
| Method Summary | |
|---|---|
protected int |
executeCommand()
|
protected void |
validate()
|
| Methods inherited from class com.sun.enterprise.admin.cli.LocalDomainCommand |
|---|
getDomainName, getDomainRootDir, getDomainsDir, initDomain, isThisDAS, prepare, setDomainName |
| Methods inherited from class com.sun.enterprise.admin.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, getCommand, 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 ListDomainsCommand()
| Method Detail |
|---|
protected void validate()
throws CommandException,
CommandValidationException
validate in class LocalDomainCommandCommandException
CommandValidationException
protected int executeCommand()
throws CommandException,
CommandValidationException
executeCommand in class CLICommandCommandException
CommandValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||