private static class ProcedureManager.CalleeInfoImpl extends java.lang.Object implements CalleeInfo
ProcedureManager.WorkArea.scopeStart()
.Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
destination
The procedure where the internal entry was resolved.
|
private boolean |
function
Flag indicating we are calling a user-defined function.
|
private java.lang.String |
iename
The internal entry name.
|
private boolean |
persistentProc
Flag indicating the external program was ran persistent.
|
private java.lang.String |
pname
The external program name; will be non-null only when we are invoking an external
program.
|
private boolean |
superCall
Flag indicating if the destination is in a super-procedure.
|
private java.lang.Object |
target
The target procedure, which was targeted by the caller.
|
Constructor and Description |
---|
CalleeInfoImpl(boolean superCall,
java.lang.Object target,
java.lang.Object destination,
java.lang.String iename,
java.lang.String pname,
boolean function,
boolean persistentProc)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDestination()
The procedure where the internal entry was resolved.
|
java.lang.String |
getExternalProgramName()
The external program name; will be non-null only when we are invoking an external
program.
|
java.lang.String |
getInternalEntryName()
The internal entry name.
|
boolean |
isFunction()
Flag indicating a user-defined function is called.
|
void |
pop()
Called by
ProcedureManager.WorkArea.scopeFinished() - depending on the callee's configuration, it
backs out the data pushed by push() , so the state will be the same as before
the callee as invoked. |
void |
push()
Called by
ProcedureManager.WorkArea.scopeStart() - depending on the callee's configuration, it
populates the procedure system handles and maintains persistent procedures. |
private final boolean superCall
private final java.lang.Object target
private final java.lang.Object destination
private final java.lang.String iename
ProcedureManager.EXTERNAL_PROGRAM
and ProcedureManager.TRIGGER_PROCEDURE
constants.private final java.lang.String pname
private final boolean function
private final boolean persistentProc
public CalleeInfoImpl(boolean superCall, java.lang.Object target, java.lang.Object destination, java.lang.String iename, java.lang.String pname, boolean function, boolean persistentProc)
superCall
- Flag indicating if the destination is in a super-procedure.target
- The target procedure, which was targeted by the caller.destination
- The procedure where the internal entry was resolved.iename
- The internal entry name. In case of triggers or external programs, use the
ProcedureManager.EXTERNAL_PROGRAM
and ProcedureManager.TRIGGER_PROCEDURE
constants.pname
- The external program name; will be non-null only when we are invoking an external
program.function
- Flag indicating we are calling a user-defined function.persistentProc
- Flag indicating the external program was ran persistent.public void push()
ProcedureManager.WorkArea.scopeStart()
- depending on the callee's configuration, it
populates the procedure system handles and maintains persistent procedures.public void pop()
ProcedureManager.WorkArea.scopeFinished()
- depending on the callee's configuration, it
backs out the data pushed by push()
, so the state will be the same as before
the callee as invoked.public java.lang.String getInternalEntryName()
ProcedureManager.TRIGGER_PROCEDURE
and ProcedureManager.EXTERNAL_PROGRAM
constants respectively.getInternalEntryName
in interface CalleeInfo
public java.lang.Object getDestination()
getDestination
in interface CalleeInfo
public java.lang.String getExternalProgramName()
getExternalProgramName
in interface CalleeInfo
String
representing the program name.public boolean isFunction()
isFunction
in interface CalleeInfo