Filters are Workflow
components dynamically generated according to the specifications in the workflow descriptor file. The Filter object itself provides an abstract framework for the execution of actions created by the developer.
Filters can be assigned Action
components at the time they are constructed. Examples of these action components are classes which extend the ActionSupport
and FilterSupport
objects.
Each filter can perform actions at two points. The first point is on the way into the sequence of filters (when the flow of control is moving in the direction of the target Action
). The second point is after the target Action
has executed and the flow of control is moving back toward the WorkflowController
.
Because Filter
objects do not contain any business logic (only logic which controls the order in which business logic is executed), they rely on feedback from the actions to determine what happens next.
|
|