Communicating with Arbortext PE Unterprozesse
When com.arbortext.e3.E3RequestContext.allocateE3Subprocess allocates an Arbortext PE Unterprozess, it returns a reference to an object that implements the com.arbortext.e3.E3Subprocess interface. This interface has three methods.
deallocate returns the Arbortext PE Unterprozess to its pool for allocation to another request.
executeCommand(String cmd) method passes the ACL command cmd to the Arbortext PE Unterprozess 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 Arbortext PE Unterprozess 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.
War dies hilfreich?