public interface JavaAction extends Action
At a minimum, a listener must be set when initializing a Java action.
The Java Action returns its result in the flow context variable "RESULT". The following table contains more information on accessing and using the result.
Flow Context Variable | Java Type | Description |
---|---|---|
RESULT | java.lang.Object | The object returned from the actionFired() method of the listener that this Java Action invokes. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getKey()
Returns optional data that is passed to the Java object to provide context
as it is invoked.
|
java.lang.Class |
getListener()
Returns the listener that receives a callback.
|
java.lang.String |
getListenerAsString()
Returns the listener that receives a callback.
|
void |
setKey(java.lang.Object key)
Sets optional data that is passed to the Java object to provide context as
it is invoked.
|
void |
setListener(java.lang.Class listener)
Sets the listener that receives a callback.
|
void |
setListenerAsString(java.lang.String listener)
Sets the listener that receives a callback.
|
addFlow, addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutBusinessIntervalNamespace, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setDescription, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutBusinessIntervalNamespace, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
getRuntimeDataMap, setRuntimeDataMap
java.lang.Object getKey()
java.lang.Class getListener() throws EngineException
EngineException
- If a system error occurs.ActionListener
,
getListenerAsString()
java.lang.String getListenerAsString()
ActionListener
,
getListener()
void setKey(java.lang.Object key)
key
- Optional data that is passed to the Java object to provide
context as it is invoked.void setListener(java.lang.Class listener)
listener
- The listener that receives a callback. The listener class
must implement the flux.ActionListener interface.ActionListener
,
setListenerAsString(java.lang.String)
void setListenerAsString(java.lang.String listener)
listener
- The fully-qualified name of the listener class that
receives a callback. The listener class must implement the
flux.ActionListener interface.ActionListener
,
setListener(java.lang.Class)
© 2000-2025 Flux Corporation. All rights reserved.