Design Patterns Java™ Workbook

(Michael S) #1
Chapter 7. Introducing Responsibility

The intent of each design pattern is to solve a problem in a context. Responsibility-oriented
patterns address contexts in which you need to deviate from the normal rule that responsibility
should be distributed as far as possible. For example, when you need to centralize
responsibility in a single instance of a class, you can apply the SINGLsETON pattern.

Free download pdf