jeudi 28 octobre 2021

is Proxy class related to proxy design pattern

there is a class in java called Proxy: https://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Proxy.html As I understood it is used to implement interfaces on runtime. On the other side when searching for this, I came across a page explaining the proxy design pattern, so are they related in any way? or they are totally separate things?

Aucun commentaire:

Enregistrer un commentaire