This presentation is part of the Design Pattern Series. Presentation explains the use of Decorator Pattern comparing it against a real life situation and then showcasing the Java implementation of the same.
4. Real Life vs Java Object
Component
Concrete Component
Copyright 2006-2011
5. Real Life vs Java Object
Component Decorator
Concrete Decorator
Copyright 2006-2011
6. How Decorator Pattern works in Real Life ?
1 Orders a Dish from Menu
makes
decorates
Receives the Name of the Dish
2 Creates the Dish
3 Delivers the Dish
Copyright 2006-2011