Communicating with Subprocesos de Arbortext PE
When com.arbortext.e3.E3RequestContext.allocateE3Subprocess allocates an Subproceso de Arbortext PE, it returns a reference to an object that implements the com.arbortext.e3.E3Subprocess interface. This interface has three methods.
deallocate returns the Subproceso de Arbortext PE to its pool for allocation to another request.
executeCommand(String cmd) method passes the ACL command cmd to the Subproceso de Arbortext PE for execution by the ACL command interpreter. This method does not return a value, but it will throw an exception if execution fails.
evaluateFunction(String function) method passes the ACL expression function, to the Subproceso de Arbortext PE for evaluation. This method returns a string containing the result of the function. The function must include a function name (including package name, if appropriate), parentheses, and parameters, all expressed as strings.
¿Fue esto útil?