|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.command.AbstractCommand
com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand
com.ibm.websphere.management.cmdframework.provider.SimpleAdminCommand
public class SimpleAdminCommand
A simple implementation of AdminCommand. This class delegates the command execution logic to an implementation of SimpleCommandProvider.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand |
---|
AbstractAdminCommand.CmdNotificationListener |
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
org.eclipse.emf.common.command.AbstractCommand.NonDirtying |
Field Summary | |
---|---|
protected SimpleCommandProvider |
cmdProvider
|
Fields inherited from class com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand |
---|
ASYNC_CUSTOM_TAG, asyncCmdSession, cmdMgrType, cnh, DYNAMIC_CUSTOM_TAG, listSetParamsTable, PRIVATE_CUSTOM_TAG |
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
description, isExecutable, isPrepared, label |
Constructor Summary | |
---|---|
SimpleAdminCommand(com.ibm.websphere.management.cmdframework.commanddata.CommandData commandData)
|
|
SimpleAdminCommand(com.ibm.websphere.management.cmdframework.commandmetadata.CommandMetadata metadata)
|
Method Summary | |
---|---|
void |
execute()
Defines the execution logic of command. |
void |
execute(CommandHistory cmdHistory)
Executes the command and puts the command data into the command history. |
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
canExecute, canUndo, chain, dispose, getAffectedObjects, getDescription, getLabel, prepare, setDescription, setLabel, toString, undo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.command.Command |
---|
canExecute, canUndo, chain, dispose, getAffectedObjects, getDescription, getLabel, undo |
Field Detail |
---|
protected SimpleCommandProvider cmdProvider
Constructor Detail |
---|
public SimpleAdminCommand(com.ibm.websphere.management.cmdframework.commandmetadata.CommandMetadata metadata) throws CommandNotFoundException
CommandNotFoundException
public SimpleAdminCommand(com.ibm.websphere.management.cmdframework.commanddata.CommandData commandData) throws CommandNotFoundException, CommandLoadException
CommandNotFoundException
CommandLoadException
Method Detail |
---|
public void execute()
AbstractAdminCommand
execute
in interface org.eclipse.emf.common.command.Command
execute
in class AbstractAdminCommand
public void execute(CommandHistory cmdHistory)
AdminCommand
execute
in interface AdminCommand
execute
in class AbstractAdminCommand
cmdHistory
- an implementation of command history
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |