Counting Proxy Pattern

The Counting Proxy pattern is useful in designing a set of additional operations that need to be performed before and/or after a client object invokes a method on a service provider object. Instead of keeping these additional operations’ implementation inside the service provider object, the Counting Proxy pattern suggests encapsulating the additional functionality in a separate object referred to as a counting proxy.

The other features of a proxy applies for this as well.

I got this from Software Architecture Design Patterns in Java by Partha Kuchana.

page_revision: 0, last_edited: 1213783156|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License