|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicJavaAction
Creates a Java object from a class, then invokes a method on the newly created object. The class does not need to implement any specific interface. When the job executes this action, the object returned by the listener is added to the flow context.
The Dynamic 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 by the method specified in the listener signature. |
Method Summary | |
---|---|
java.lang.Class |
getListener()
Returns the listener that receives a callback. |
java.lang.String |
getListenerAsString()
Returns the listener that receives a callback. |
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. |
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap |
---|
getRuntimeDataMap, setRuntimeDataMap |
Methods inherited from interface flux.DynamicMethod |
---|
getArgument, getArgumentCount, getArgumentType, getListenerSignature, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setListenerSignature |
Method Detail |
---|
java.lang.Class getListener() throws EngineException
EngineException
- If a system error occurs.getListenerAsString()
java.lang.String getListenerAsString()
getListener()
void setListener(java.lang.Class listener)
listener
- The listener that receives a callback. Does not need to
implement any interface.void setListenerAsString(java.lang.String listener)
listener
- The fully-qualified name of the listener class that
receives a callback. Does not need to implement any interface.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |