Encapsulated Context

Encapsulated Context design pattern

Encapsulated Context is software design pattern applicable in C++, Java, C# and other languages. It was originally reviewed at EuroPLoP 2003 and has been included in Pattern Languages of Program Design 5. (This book is often called ‘PLoP D5’ for short).

The version of Encapsulated Context available for download here is slightly different to the version in the book. This version is slightly longer while the book version has benefited from the work of professional publishers.

December 2009: minor update to Context Encapsulation changed some formatting and added a postscript. Download above is for the latest version (old versions are not maintained on this site).

Since publication several other patterns have referenced Encapsulated Context: