ActionInvocation instead.@Deprecated public interface ActionInvocation extends ActionInvocation
| Modifier and Type | Interface and Description |
|---|---|
static class |
ActionInvocation.LegacyAdapter
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ActionInvocation |
adapt(ActionInvocation actualInvocation)
Deprecated.
|
default void |
addPreResultListener(PreResultListener listener)
Deprecated.
Register a
PreResultListener to be notified after the Action is executed and
before the Result is executed. |
void |
addPreResultListener(PreResultListener listener)
Deprecated.
|
ActionContext |
getInvocationContext()
Deprecated.
Gets the ActionContext associated with this ActionInvocation.
|
ActionProxy |
getProxy()
Deprecated.
Get the ActionProxy holding this ActionInvocation.
|
Result |
getResult()
Deprecated.
If the ActionInvocation has been executed before and the Result is an instance of
ActionChainResult, this method
will walk down the chain of ActionChainResults until it finds a non-chain result, which will be returned. |
ValueStack |
getStack()
Deprecated.
Gets the ValueStack associated with this ActionInvocation.
|
default void |
init(ActionProxy proxy)
Deprecated.
|
void |
init(ActionProxy proxy)
Deprecated.
|
default void |
setActionEventListener(ActionEventListener listener)
Deprecated.
Sets the action event listener to respond to key action events.
|
void |
setActionEventListener(ActionEventListener listener)
Deprecated.
|
getAction, getResultCode, invoke, invokeActionOnly, isExecuted, setResultCodeActionContext getInvocationContext()
ActionInvocationgetInvocationContext in interface ActionInvocationResult getResult() throws Exception
ActionInvocationActionChainResult, this method
will walk down the chain of ActionChainResults until it finds a non-chain result, which will be returned. If the
ActionInvocation's result has not been executed before, the Result instance will be created and populated with
the result params.getResult in interface ActionInvocationException - can be thrown.ActionProxy getProxy()
ActionInvocationgetProxy in interface ActionInvocationValueStack getStack()
ActionInvocationgetStack in interface ActionInvocationdefault void addPreResultListener(PreResultListener listener)
ActionInvocationPreResultListener to be notified after the Action is executed and
before the Result is executed.
The ActionInvocation implementation must guarantee that listeners will be called in the order in which they are registered.
Listener registration and execution does not need to be thread-safe.
addPreResultListener in interface ActionInvocationlistener - the listener to add.void addPreResultListener(PreResultListener listener)
default void setActionEventListener(ActionEventListener listener)
ActionInvocationsetActionEventListener in interface ActionInvocationlistener - the listener.void setActionEventListener(ActionEventListener listener)
default void init(ActionProxy proxy)
init in interface ActionInvocationvoid init(ActionProxy proxy)
static ActionInvocation adapt(ActionInvocation actualInvocation)
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.