com.bea.wlpi.common.plugin
Interface PluginFunction
- public interface PluginFunction
- extends java.io.Serializable
The interface that a plugin must implement to define a new evaluator
function.
- Since:
- WebLogic Process Integrator 2.0
- Author:
- Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.
- See Also:
FunctionInfo
evaluate
public java.lang.Object evaluate(EvaluationContext context,
java.lang.Object[] args)
throws PluginException
- Evaluate the function. The expression evaluator calls this method when
it needs to evaluate this function call. The plugin function can
calculate its return value from the contextual information supplied via
the
context
parameter, which enables access to event data
and workflow instance state (where appropriate).
- Parameters:
context
- The evaluation context.args
- An array of actual parameter values. These are all
pre-calculated by evaluating the expressions that represent the
function's arguments in the source expression.- Returns:
- The result of evaluating this function against the data
contained in the
context
parameter. - Throws:
- PluginException -
WebLogic Integration (WLI)