decorator : Java Glossary


A design pattern that lets attach additional responsibilities/capabilities to an object dynamically with subclassing. It is sometimes called a wrapper. Inside the object are references to delegate objects that do the real work. They can be dynamically replaced. The clients of the class are unaware of the existence of the delegates. Wrapper methods hide the mechanism. The class just seems extraordinarily capable flexible and extenable.

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number