Class ChainContext<InputType>

java.lang.Object
org.chenile.owiz.impl.ChainContext<InputType>
Type Parameters:
InputType -

public class ChainContext<InputType> extends Object
This class is used by FilterChain. This is passed as part of the context. (by classes implementing ChainContextContainer) The class allows a Command which is called by the FilterChain to pass control to the commands that are downstream from it. The doContinue() executes the downstream commands. This method will be recursively called till the last command is executed in the Chain.

This context also can roll back the Commands that have already been called if required by using the savePoint() and resumeFromSavedPoint(SavePoint) methods.