Runtime Execution
Each policy provides implementation of the policy execution APIs.
Runtime.jar deals with runtime execution and the jar contains,
-
Runtime class
public boolean execute
that implements the logic (ApiRuntimeContext context). -
RuntimeFactory class
public PolicyRuntime getRuntime
that is used to instantiate the runtime (PolicyRuntimeInitContext context, JSONObject policyConfig).
For information on runtime, refer to Oracle API Platform Cloud Service Runtime Context Java Doc.