News Ticker

Chapter 7: Decorator Pattern

In this chapter we discuss how to implement the decorator pattern in Java SE and how the decorator pattern solved a real‐life dilemma.

We show how to implement the decorator pattern using the @Decorator and @Delegate annotations and how to use qualifiers to gain fine‐grain control over how decorators are used.

Finally we discuss how to make the decorator pattern pluggable via the deployment descriptors

Professional Java EE Design Patterns

Leave a Reply

%d