private static class ControlFlowOps.ExternalProgramResolver extends ControlFlowOps.Resolver
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
className
The already resolved class name, from a previous cached call.
|
wa| Constructor and Description |
|---|
ExternalProgramResolver(ControlFlowOps.WorkArea wa) |
| Modifier and Type | Method and Description |
|---|---|
ControlFlowOps.InternalEntryCaller |
resolve(handle phandle,
java.lang.String name,
boolean function,
boolean superCall,
character exports,
boolean persistent)
Based on the given data, determine the procedure handle to which the
internal entry belongs and its java method name (or the external
program to be invoked).
|
resolveprivate java.lang.String className
public ExternalProgramResolver(ControlFlowOps.WorkArea wa)
public ControlFlowOps.InternalEntryCaller resolve(handle phandle, java.lang.String name, boolean function, boolean superCall, character exports, boolean persistent)
ControlFlowOps.Resolverresolve in class ControlFlowOps.Resolverphandle - The procedure handle where this internal entry is defined.name - The legacy name of the internal entry or external program.function - true if need to search for functions.
false if need to search for procedures.superCall - true if this is a RUN SUPER or SUPER() call.exports - The list of allowed external procedures to be invoked with a RUN ... ON SERVER
statement.persistent - Flag indicating if this external program is being ran persistent.caller or null if not found.