Definition:
The intent of Proxy pattern is to control access to an object by providing a surrogate, or placeholder, for it.

Known as:
Remote Proxy, Virtual Proxy, Protection Proxy

What is:
Proxy pattern

Example:
1. AppLab’s Proxy pattern

2. A Quick Journey Through Spring AOP

3. Simplify AOP Configuration with Auto-Proxy Creator

4. Bob Tarr’s proxy pattern and dynamic proxy

5. “You may see similarities between the Decorator and Proxy design patterns. Both patterns use a proxy that forwards method calls to another object, known as the real subject. The difference is that, with the Proxy pattern, the relationship between a proxy and the real subject is typically set at compile time, whereas decorators can be recursively constructed at runtime. ” from Take control with the Proxy design pattern!

6. Decorating with dynamic proxies

Advertisements