com.ibm.ws.rest.services.admin.tasks
Class AddRESTServiceProviderTask

java.lang.Object
  extended by org.eclipse.emf.common.command.AbstractCommand
      extended by com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand
          extended by com.ibm.ws.bpm.config.admin.AbstractBPMAdminCommand
              extended by com.ibm.ws.rest.services.admin.tasks.AddRESTServiceProviderTask
All Implemented Interfaces:
com.ibm.websphere.management.cmdframework.AdminCommand, org.eclipse.emf.common.command.Command

public class AddRESTServiceProviderTask
extends AbstractBPMAdminCommand

AddRESTServiceProviderTask


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand
com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand.CmdNotificationListener
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.AbstractCommand.NonDirtying
 
Field Summary
protected  com.ibm.websphere.management.cmdframework.provider.CommandResultImpl commandResultImpl
           
protected static java.util.logging.Logger logger
           
 
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
AddRESTServiceProviderTask(com.ibm.websphere.management.cmdframework.commanddata.CommandData inCommandData)
           
AddRESTServiceProviderTask(com.ibm.websphere.management.cmdframework.commandmetadata.CommandMetadata metadata)
           
 
Method Summary
 void execute()
           
protected  void initialize()
           
 
Methods inherited from class com.ibm.ws.bpm.config.admin.AbstractBPMAdminCommand
getDeploymentTargetContextID, validateDeploymentTarget
 
Methods inherited from class com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand
cleanupUploadedFiles, createParamEObject, createParameterMetadata, execute, generateScript, getChoices, getCmdMgrType, getCommandData, getCommandMetadata, getCommandMetadata, getCommandResult, getCommandSession, getConfigService, getConfigSession, getLocale, getName, getOrigParameterValue, getParameter, getParameter, getParameterMetadata, getResult, getTargetObject, getTargetObjectChoices, getUserData, initCommandData, initializeParameter, initializeParameter, isAsyncCommand, isDynamicStepCommand, isLocalMode, isParamReadonly, isPrivateParameter, isTable, listAllParameterName, listParameterName, listSetParams, listSetParams, redo, resetCommandData, resetCommandMetadata, save, sendNotification, setCmdHandler, setCmdMgrType, setCommandMetadata, setCommandResult, setCommandSession, setConfigSession, setListSetParamsTable, setLocale, setOrigParameterValue, setParameter, setParameter, setTargetObject, setupListener, validate
 
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

logger

protected static java.util.logging.Logger logger

commandResultImpl

protected com.ibm.websphere.management.cmdframework.provider.CommandResultImpl commandResultImpl
Constructor Detail

AddRESTServiceProviderTask

public AddRESTServiceProviderTask(com.ibm.websphere.management.cmdframework.commandmetadata.CommandMetadata metadata)
                           throws com.ibm.websphere.management.cmdframework.CommandNotFoundException
Throws:
com.ibm.websphere.management.cmdframework.CommandNotFoundException

AddRESTServiceProviderTask

public AddRESTServiceProviderTask(com.ibm.websphere.management.cmdframework.commanddata.CommandData inCommandData)
                           throws com.ibm.websphere.management.cmdframework.CommandNotFoundException,
                                  com.ibm.websphere.management.cmdframework.CommandLoadException
Throws:
com.ibm.websphere.management.cmdframework.CommandNotFoundException
com.ibm.websphere.management.cmdframework.CommandLoadException
Method Detail

execute

public void execute()
Specified by:
execute in interface org.eclipse.emf.common.command.Command
Specified by:
execute in class com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand

initialize

protected void initialize()
                   throws com.ibm.websphere.management.cmdframework.RequiredParameterNotFoundException,
                          com.ibm.websphere.management.cmdframework.InvalidParameterNameException,
                          com.ibm.wbi.utils.configservice.WBIConfigException,
                          com.ibm.websphere.management.cmdframework.CommandValidationException
Throws:
com.ibm.websphere.management.cmdframework.RequiredParameterNotFoundException
com.ibm.websphere.management.cmdframework.InvalidParameterNameException
com.ibm.wbi.utils.configservice.WBIConfigException
com.ibm.websphere.management.cmdframework.CommandValidationException