java-design-patterns icon indicating copy to clipboard operation
java-design-patterns copied to clipboard

Dynamic proxy pattern

Open iluwatar opened this issue 1 year ago • 6 comments

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

iluwatar avatar Jun 25 '23 10:06 iluwatar