public class DefaultActionInvoker extends Object implements IActionInvoker
IActionInvoker interface that invokes the IAction locally.| Constructor and Description |
|---|
DefaultActionInvoker() |
| Modifier and Type | Method and Description |
|---|---|
protected IBackgroundExecutionStreamProvider |
getStreamProvider(Map<String,Serializable> params)
|
IActionInvokeStatus |
invokeAction(IAction actionBean,
String actionUser,
Map<String,Serializable> params)
Invokes the provided
IAction as the provided actionUser. |
protected IActionInvokeStatus |
invokeActionImpl(IAction actionBean,
String actionUser,
Map<String,Serializable> params)
Invokes the provided
IAction as the provided actionUser. |
boolean |
isSupportedAction(IAction action) |
protected IBackgroundExecutionStreamProvider getStreamProvider(Map<String,Serializable> params)
params - the Map or parameters needed to invoke the IActionIBackgroundExecutionStreamProvider represented in the params Mappublic IActionInvokeStatus invokeAction(IAction actionBean, String actionUser, Map<String,Serializable> params) throws Exception
IAction as the provided actionUser.invokeAction in interface IActionInvokeractionBean - the IAction being invokedactionUser - The user invoking the IActionparams - the Map or parameters needed to invoke the IActionIActionInvokeStatus object containing information about the action invocationException - when the IAction cannot be invoked for some reason.protected IActionInvokeStatus invokeActionImpl(IAction actionBean, String actionUser, Map<String,Serializable> params) throws Exception
IAction as the provided actionUser.actionBean - the IAction being invokedactionUser - The user invoking the IActionparams - the Map or parameters needed to invoke the IActionIActionInvokeStatus object containing information about the action invocationException - when the IAction cannot be invoked for some reason.public boolean isSupportedAction(IAction action)
isSupportedAction in interface IActionInvokerCopyright © 2017 Hitachi Vantara. All rights reserved.