com.sun.enterprise.admin.cli.cluster
Class CreateLocalInstanceFilesystemCommand

java.lang.Object
  extended by com.sun.enterprise.admin.cli.CLICommand
      extended by com.sun.enterprise.admin.cli.LocalServerCommand
          extended by com.sun.enterprise.admin.cli.cluster.LocalInstanceCommand
              extended by 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 || ---- || ----


Field Summary
protected  boolean setDasDefaultsOnly
           
 
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
CreateLocalInstanceFilesystemCommand()
           
 
Method Summary
protected  int executeCommand()
           
protected  void validate()
           
 
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
 

Field Detail

setDasDefaultsOnly

protected boolean setDasDefaultsOnly
Constructor Detail

CreateLocalInstanceFilesystemCommand

public CreateLocalInstanceFilesystemCommand()
Method Detail

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.