• The engine calls execute() to start the execution.
• The engine calls postExecute() to finish executing the implementation.The BW engine’s job thread is not blocked until the advice finishes executing and produces its result.
• The engine calls execute() to start the execution.
• Before the advice returns from execute(), it sets a timeout.
• When a timeout occurs, the engine calls cancelled() to finish executing the implementation.
• All the logic that requires access to this object should be moved to execute(), postExecute() or cancelled().Figure 15 shows the threading model.Figure 15 Threading ModelFigure 16 Threading Model (Timeout)
Copyright © TIBCO Software Inc. All Rights Reserved.