Interface Procedure
- All Known Implementing Classes:
AddOnProcedure
,AppListProcedure
,ConnectionListProcedure
,ConnectionMetricsProcedure
,ConnectionValidateProcedure
,JsProcedure
,PluginInstallProcedure
,PluginListProcedure
,PluginLoadProcedure
,PluginUninstallProcedure
,PluginUnloadProcedure
,Procedure
,ProcedureCallProcedure
,ProcedureDeleteProcedure
,ProcedureListProcedure
,ProcedureMetricsProcedure
,ProcedureReadProcedure
,ProcedureTraceProcedure
,ProcedureTypesProcedure
,ProcedureWriteProcedure
,ResetProcedure
,SessionAuthenticateProcedure
,SessionAuthenticateTokenProcedure
,SessionCurrentProcedure
,SessionTerminateProcedure
,StatusProcedure
,StorageCopyProcedure
,StorageDeleteProcedure
,StorageListProcedure
,StorageQueryProcedure
,StorageReadProcedure
,StorageWriteProcedure
,ThreadContextProcedure
,ThreadCreateProcedure
,ThreadInterruptProcedure
,ThreadListProcedure
,TypeListProcedure
,UserAccessProcedure
,UserAuthenticationTokenProcedure
,UserChangeProcedure
,UserListProcedure
,UserPasswordChangeProcedure
,UserSearchProcedure
,UserSettingsProcedure
There are two types of procedures — add-on and built-in. The add-on procedures are created and modified by the user with a set of configurable parameters (e.g. SQL text, connection pool names, etc). The built-in procedures are basically singleton procedures that cannot be modified by the user. The latter type provides services needed by the platform, such as introspection, administration and control.
Each procedure has a number of bindings, containing any resources required during execution. The bindings have different types to clarify their content, such as input argument, static data, adapter pool name or referenced procedure name.
Most classes implementing this interface should be subclasses of the AddOnProcedure class and follow the requirements for serialization and configurability defined by that class. Otherwise the procedure is considered a built-in procedure and is responsible for its own initialization and security checks. Great care must be taken when implementing this interface so that any sensitive operation is properly checked for security.
- Version:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncall
(CallContext cx, Bindings bindings) Deprecated, for removal: This API element is subject to removal in a future version.Executes a call of this procedure in the specified context and with the specified call bindings.Deprecated, for removal: This API element is subject to removal in a future version.Returns the bindings for this procedure.Deprecated, for removal: This API element is subject to removal in a future version.Returns the procedure description.getName()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the procedure name.
-
Method Details
-
getName
String getName()Deprecated, for removal: This API element is subject to removal in a future version.Returns the procedure name.- Returns:
- the procedure name
-
getDescription
String getDescription()Deprecated, for removal: This API element is subject to removal in a future version.Returns the procedure description.- Returns:
- the procedure description
-
getBindings
Bindings getBindings()Deprecated, for removal: This API element is subject to removal in a future version.Returns the bindings for this procedure. If this procedure requires any special data, adapter connection or input argument binding, those bindings should be set (but possibly to null or blank values).- Returns:
- the bindings for this procedure
-
call
Deprecated, for removal: This API element is subject to removal in a future version.Executes a call of this procedure in the specified context and with the specified call bindings. The semantics of what the procedure actually does, is up to each implementation. Note that the call bindings are normally inherited from the procedure bindings with arguments bound to their call values.- Parameters:
cx
- the procedure call contextbindings
- the call bindings to use- Returns:
- the result of the call, or null if the call produced no result
- Throws:
ProcedureException
- if the call execution caused an error
-