design-patterns

What is the underlying design pattern behind AOP?


Had this interesting question being asked today and the arguments varied from Proxy to Wrapper to Decorator.

Thoughts?


Solution

  • The short description of

    Based on this, to me AOP looks like (a solution to the problem solved by) Decorator rather than Proxy - and definitely not Adapter.

    *From the GoF book.