org.gjt.lindfors.pattern
Interface StrategyContext


public interface StrategyContext

Strategy context maintains a reference to a Strategy object. Strategy context acts as a client to the concrete strategy objects and may define an interface that lets Strategy access its data.

For more detailed documentation, refer to the Strategy Design Pattern .
See also: Strategy pattern in Design Patterns: Elements of Reusable Object-Oriented Software .

Since:
JDK1.2
Version:
$Revision: 1.6 $
Author:
Juha Lindfors
See Also:
Strategy