com.sun.enterprise.admin.cli.cluster
Class CreateLocalInstanceFilesystemCommand
java.lang.Object
com.sun.enterprise.admin.cli.CLICommand
com.sun.enterprise.admin.cli.LocalServerCommand
com.sun.enterprise.admin.cli.cluster.LocalInstanceCommand
com.sun.enterprise.admin.cli.cluster.CreateLocalInstanceFilesystemCommand
- All Implemented Interfaces:
- org.jvnet.hk2.component.PostConstruct
- Direct Known Subclasses:
- CreateLocalInstanceCommand
@Service(name="_create-instance-filesystem")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public class CreateLocalInstanceFilesystemCommand
- extends LocalInstanceCommand
This is a local command that creates a local instance.
Create the local directory structure
nodes//
|| ---- agent
|| ---- config
| ---- das.properties
|| ----
|| ----
| 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 |
| Methods inherited from class com.sun.enterprise.admin.cli.cluster.LocalInstanceCommand |
getDasProperties, getInstallRootPath, getInstanceDirs, getMasterPasswordFile, getNodeInstallDir, getProductRootPath, initInstance, isDirectory, mkdirs, 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 |
setDasDefaultsOnly
protected boolean setDasDefaultsOnly
CreateLocalInstanceFilesystemCommand
public CreateLocalInstanceFilesystemCommand()
validate
protected void validate()
throws CommandException
- Overrides:
validate in class LocalInstanceCommand
- Throws:
CommandException
executeCommand
protected int executeCommand()
throws CommandException
- Specified by:
executeCommand in class CLICommand
- Throws:
CommandException
Copyright © 2012 GlassFish Community. All Rights Reserved.