@Service(name="start-domain") @PerLookup public class StartDomainCommand extends LocalDomainCommand implements StartServerCommand
domainDirParam| Constructor and Description |
|---|
StartDomainCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
createLauncher()
Create a launcher for the domain specified by arguments to
this command.
|
protected int |
executeCommand() |
List<String> |
getLauncherArgs() |
org.glassfish.api.admin.RuntimeType |
getType() |
protected void |
validate() |
getDomainName, getDomainRootDir, getDomainsDir, initDomain, 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, usageOptionspublic List<String> getLauncherArgs()
getLauncherArgs in interface StartServerCommandpublic org.glassfish.api.admin.RuntimeType getType()
getType in interface StartServerCommandprotected void validate()
throws org.glassfish.api.admin.CommandException,
org.glassfish.api.admin.CommandValidationException
validate in class LocalDomainCommandorg.glassfish.api.admin.CommandExceptionorg.glassfish.api.admin.CommandValidationExceptionprotected int executeCommand()
throws org.glassfish.api.admin.CommandException
executeCommand in class com.sun.enterprise.admin.cli.CLICommandorg.glassfish.api.admin.CommandExceptionpublic void createLauncher()
throws com.sun.enterprise.admin.launcher.GFLauncherException,
com.sun.enterprise.universal.xml.MiniXmlParserException
createLauncher in interface StartServerCommandcom.sun.enterprise.admin.launcher.GFLauncherExceptioncom.sun.enterprise.universal.xml.MiniXmlParserExceptionCopyright © 2015. All rights reserved.