Home   Info   DevZone   Wiki  
UsersWeb  |  MainWeb  |  InfoWeb  |  DevZoneWeb  |  SupportWeb
ChainOfResponsibilityPattern ] [ not logged in ] [ Web: Imported ] goto:  options
[ get info on or edit ] login or new user ] [ list of topics, hubs & nodes, or recent changes ]

The ChainOfResponsibilityPattern describes a mechanism whereby a series of components are each given a chance to process a message. When the message reaches a component that knows how to deal with the message it's propogation ends. The last component in the chain should provide a default handler for all messages.

This pattern is similar to the old AWT event handling mechanism.

Back to DesignPatterns


Content of these pages are owned and copyrighted by the poster.
Hosted by: