private static class ControlFlowOps.ExternalProgramResolver extends ControlFlowOps.Resolver
Modifier | Constructor and Description |
---|---|
private |
ExternalProgramResolver() |
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).
|
resolve
public ControlFlowOps.InternalEntryCaller resolve(handle phandle, java.lang.String name, boolean function, boolean superCall, character exports, boolean persistent)
ControlFlowOps.Resolver
resolve
in class ControlFlowOps.Resolver
phandle
- 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.