I'm working on an issue of design patterns - I have used facade and adapter pattern in some systems in the past.
Now I've found the wrapper facade pattern. If I understand it correct (I only have a vague idea) the wrapper facade is a combination of facade and adapter pattern.
Now I have some questions:
The key summarizing sentence in that paper is this:
Facades hide complex class relationships behind a simpler API, whereas Wrapper Facades hide complex function and data structure relationships behind a richer class API.
Interpretation: Wrapper Facade pertains to an OOP layer above native, non-OOP API and code. This pattern is not very relevant to general Java development; examples of it are classes with a lot of native
methods, like java.io
stream implementations or the Abstract Windowing Toolkit (AWT).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With