public interface CommonProcedure
| attribute or method | API |
|---|---|
| SUPER-PROCEDURES | superProcedures() |
| ADD-SUPER-PROCEDURE | addSuperProcedure APIs |
| REMOVE-SUPER-PROCEDURE | removeSuperProcedure APIs |
handle.unwrapCommonProcedure() API, which, depending on the
handle's state and type, it either returns an
SessionUtils.asHandle() instance (for SESSION handles) or an
ExternalProgramWrapper instance (for PROCEDURE handles), or a
dynamic proxy using handle.invalidAttrAccessProxy.| Modifier and Type | Method and Description |
|---|---|
logical |
addSuperProcedure(handle h)
Add the given handle as a super-procedure for the current handle.
|
logical |
addSuperProcedure(handle h,
int mode)
Add the given handle as a super-procedure for the current handle, using
the search-mode set as a string (one of the
SEARCH-TARGET
or SEARCH-SELF string literals). |
logical |
addSuperProcedure(handle h,
integer mode)
Add the given handle as a super-procedure for the current handle, using
the search-mode set as a string (one of the
SEARCH-TARGET
or SEARCH-SELF string literals). |
logical |
addSuperProcedure(handle h,
ProcedureManager.SearchMode mode)
Add the given handle as a super-procedure for the current handle, using
the explicit
mode. |
logical |
isRemote()
Indicates if the procedure is ran remote.
|
logical |
removeSuperProcedure(handle h)
Remove the given handle from this handle's list of super-procedures.
|
character |
superProcedures()
Get the SUPER-PROCEDURES attribute for this SESSION or procedure handle.
|
character superProcedures()
logical addSuperProcedure(handle h)
h - The handle to be added as a super-procedure.true if h is a valid procedure
handle.logical addSuperProcedure(handle h, ProcedureManager.SearchMode mode)
mode.h - The handle to be added as a super-procedure.mode - The ProcedureManager.SearchMode to be set for the h
handle.true if h is a valid procedure
handle.logical addSuperProcedure(handle h, int mode)
SEARCH-TARGET
or SEARCH-SELF string literals).h - The handle to be added as a super-procedure.mode - The search-mode to be set for the h handle.true if h is a valid procedure
handle.logical addSuperProcedure(handle h, integer mode)
SEARCH-TARGET
or SEARCH-SELF string literals).h - The handle to be added as a super-procedure.mode - The search-mode to be set for the h handle.true if h is a valid procedure
handle.logical removeSuperProcedure(handle h)
h - The procedure handle to be removed.true if h is a valid procedure
handle.logical isRemote()
true if the procedure is run remote , false otherwise.