|
|||||||||
| 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.optional.DatabaseCommand
com.sun.enterprise.admin.cli.optional.StopDatabaseCommand
@Service(name="stop-database") @Scoped(value=org.jvnet.hk2.component.PerLookup.class) public final class StopDatabaseCommand
stop-database command This command class will invoke DerbyControl to stop the database.
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.admin.cli.optional.DatabaseCommand |
|---|
DB_HOST_DEFAULT, DB_PASSWORDFILE, DB_PORT_DEFAULT, DB_USER, dbHost, dbLocation, dbPort, installModules, sClasspath, sDatabaseClasspath, sInstallRoot, sJavaHome |
| 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 | |
|---|---|
StopDatabaseCommand()
|
|
| Method Summary | |
|---|---|
protected int |
executeCommand()
Method that Executes the command |
java.lang.String[] |
stopDatabaseCmd()
Defines the command to stop the derby database. |
| Methods inherited from class com.sun.enterprise.admin.cli.optional.DatabaseCommand |
|---|
getJavaExe, pingDatabaseCmd, prepareProcessExecutor |
| 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, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StopDatabaseCommand()
| Method Detail |
|---|
public java.lang.String[] stopDatabaseCmd()
throws java.lang.Exception
java.lang.Exception
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 | ||||||||