java-design-patterns
java-design-patterns copied to clipboard
Dynamic proxy pattern
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
Hello, I would like to work on this, can it be assigned to me, please
This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.
Hi, I am happy to work on this. This is another link that I will refer to: https://docs.oracle.com/javase/8/docs/technotes/guides/reflection/proxy.html
Let me know if it makes sense. Please assign to me when you are able to.
@mohamedelghaouth are you working on this? If not, please indicate so we can progress on it.
Hi, yes, I am working on this, I will try to push ma MR this week-end
This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.
@iluwatar I have worked with this Dynamic Proxy pattern in the library simple-openai and I know that it has been used in popular libraries such as Spring, Hibernate, Retrofit, etc., so I think I could contribute here. Just let me know if you could assign this issue to me, please?
Hi, yes, I am working on this, I will try to push ma MR this week-end
@mohamedelghaouth have you already pushed a PR?
No sign from @mohamedelghaouth so I'll assign to @sashirestela
Forking the repo and working on this
@iluwatar The PR is ready for you revision https://github.com/iluwatar/java-design-patterns/pull/2814