Adapt an object to different client's needs through transparently attached role objects, each one representing a role the object has to play in that client's context. The object manages its role set dynamically. By representing roles as individual objects, different contexts are kept separate and system configuration is simplified.
Dirk Bäumer, Dirk Riehle, Wolf Siberski, and Martina Wulf. "Role Object." In Proceedings of the 1997 Conference on Pattern Languages of Programs (PLoP '97). Technical Report WUCS-97-34. Washington University Dept. of Computer Science, 1997. Paper 2.1, 10 pages.
This paper has been superseded by a newer revised version published in PLoPD 4.
|