java-design-patterns
java-design-patterns copied to clipboard
Dynamic proxy pattern
Proxies are fronts or wrappers that pass function invocation through their own facilities (usually onto real methods) – potentially adding some functionality.
Dynamic proxies allow one single class with one single method to service multiple method calls to arbitrary classes with an arbitrary number of methods.
See https://www.baeldung.com/java-dynamic-proxies
Acceptance criteria
- Dynamic proxy pattern example added to the library
- Follows the instructions at https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute