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 executethat implements the logic (ApiRuntimeContext context). -
RuntimeFactory class
public PolicyRuntime getRuntimethat 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.