I have a 3rd party library i am interfacing with using a facade pattern. Now, i have a further requirement that the 3rd party library can be changed easily (not at runtime) thus the facade have needs to be able to handle this.
What would be the best way to do this?
I suggest creating
Facadethat needs to be an interface (or abstract class, whichever language do you use) with several implementations. Each implementation is a concrete facade wrapping 3rd party library:Powered by yuml.me